From 8b2e9087ebc404c1e13f5f20a7f7138660a48eb6 Mon Sep 17 00:00:00 2001 From: Esben Petersen Date: Wed, 24 Jun 2015 23:27:32 +0200 Subject: [PATCH] Fixed coveralls --- .travis.yml | 3 ++- tests/Provider/LaravelServiceProviderTest.php | 6 +----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 61758ea..b79eb10 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,6 +9,7 @@ php: script: - mkdir -p build/logs + - php vendor/bin/phpunit -c phpunit.xml after_script: - - php vendor/bin/coveralls \ No newline at end of file + - php vendor/bin/coveralls -v \ No newline at end of file diff --git a/tests/Provider/LaravelServiceProviderTest.php b/tests/Provider/LaravelServiceProviderTest.php index bf93bff..c8436ca 100644 --- a/tests/Provider/LaravelServiceProviderTest.php +++ b/tests/Provider/LaravelServiceProviderTest.php @@ -10,11 +10,7 @@ public function testServiceProviderIsWorking() $appMock->shouldReceive('bindShared')->with( 'apiconsumer', - m::on(function($closure){ - var_dump($closure); - var_dump("YOP"); - return true; - }) + m::type('Closure') ); $provider = $this->app->make('Optimus\ApiConsumer\Provider\LaravelServiceProvider', [