Skip to content

Commit

Permalink
Fixed proper dev-composer dependencies. New test.
Browse files Browse the repository at this point in the history
  • Loading branch information
olssonm committed Aug 10, 2015
1 parent ec52469 commit a81319e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@
],
"require": {
"illuminate/support": "~5.1",
"php" : ">=5.3.0",
"mockery/mockery": "0.9.3"
"php" : ">=5.3.0"
},
"require-dev": {
"phpunit/phpunit" : "4.*",
"scrutinizer/ocular": "~1.1",
"orchestra/testbench": "~3.0"
"orchestra/testbench": "~3.0",
"mockery/mockery": "0.9.3"
},
"autoload": {
"psr-4": {
Expand Down
1 change: 1 addition & 0 deletions tests/VeryBasicAuthTests.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ protected function getPackageProviders($app)
public function test_very_basic_auth_route_filter_is_set()
{
$middlewares = $this->app->router->getMiddleware();
$this->assertTrue(in_array('Olssonm\VeryBasicAuth\Http\Middleware\VeryBasicAuth', $middlewares));
$this->assertTrue(array_key_exists('auth.very_basic', $middlewares));
}

Expand Down

0 comments on commit a81319e

Please sign in to comment.