update 1.0.8.0

Commits for version update
This commit is contained in:
Manish Verma
2016-10-17 12:02:27 +05:30
parent dec927987b
commit 76e85db070
9674 changed files with 495757 additions and 58922 deletions

View File

@@ -17,7 +17,6 @@ class TopicsTest extends FCMTestCase {
$this->setExpectedException(NoTopicProvidedException::class);
$topics->build();
}
/**
@@ -32,7 +31,6 @@ class TopicsTest extends FCMTestCase {
$topics->topic('myTopic');
$this->assertEquals($target, $topics->build());
}
/**
@@ -115,12 +113,8 @@ class TopicsTest extends FCMTestCase {
$client = Mockery::mock(Client::class);
$client->shouldReceive('post')->once()->andReturn($response);
$this->app->singleton('fcm.client', function($app) use($client) {
return $client;
});
$fcm = new FCMSender();
$fcm = new FCMSender($client, 'http://test.test');
$topics = new Topics();
$topics->topic('test');
@@ -141,12 +135,8 @@ class TopicsTest extends FCMTestCase {
$client = Mockery::mock(Client::class);
$client->shouldReceive('post')->once()->andReturn($response);
$this->app->singleton('fcm.client', function($app) use($client) {
return $client;
});
$fcm = new FCMSender();
$fcm = new FCMSender($client, 'http://test.test');
$topics = new Topics();
$topics->topic('test');