Skip to content

Commit

Permalink
Fixed coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
esbenp committed Jun 24, 2015
1 parent 72bc403 commit 8b2e908
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ php:

script:
- mkdir -p build/logs
- php vendor/bin/phpunit -c phpunit.xml

after_script:
- php vendor/bin/coveralls
- php vendor/bin/coveralls -v
6 changes: 1 addition & 5 deletions tests/Provider/LaravelServiceProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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', [
Expand Down

0 comments on commit 8b2e908

Please sign in to comment.