@@ -33,9 +33,9 @@ |
||
33 | 33 | $routeCollector = Mockery::mock(\Venta\Contracts\Routing\RouteCollector::class); |
34 | 34 | $route = (new \Venta\Routing\Route(['GET', 'POST'], '/qwerty', 'callable')) |
35 | 35 | ->withHost('localhost') |
36 | - ->withMiddleware('middleware1', function () { |
|
36 | + ->withMiddleware('middleware1', function() { |
|
37 | 37 | }) |
38 | - ->withMiddleware('middleware2', function () { |
|
38 | + ->withMiddleware('middleware2', function() { |
|
39 | 39 | }) |
40 | 40 | ->withName('named') |
41 | 41 | ->withScheme('http'); |
@@ -33,7 +33,7 @@ |
||
33 | 33 | $provider->provideServices($app); |
34 | 34 | $collector = Mockery::mock(\Venta\Contracts\Routing\MiddlewareCollector::class); |
35 | 35 | $collector->shouldReceive('pushMiddleware') |
36 | - ->with('error_handler', \Venta\Framework\ErrorHandler\ErrorHandlerMiddleware::class); |
|
36 | + ->with('error_handler', \Venta\Framework\ErrorHandler\ErrorHandlerMiddleware::class); |
|
37 | 37 | $provider->provideMiddlewares($collector); |
38 | 38 | } |
39 | 39 |