@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | |
48 | 48 | $route = m::mock(Route::class); |
49 | 49 | |
50 | - $route->shouldReceive('dispatch')->withArgs(function ($req, $withRoute) use ($request) { |
|
50 | + $route->shouldReceive('dispatch')->withArgs(function($req, $withRoute) use ($request) { |
|
51 | 51 | if ($withRoute) { |
52 | 52 | $withRoute(); |
53 | 53 | } |
@@ -77,8 +77,8 @@ discard block |
||
77 | 77 | ], |
78 | 78 | ]); |
79 | 79 | |
80 | - $this->app->shouldReceive('getBasePath')->andReturn($root->getChild('app')->url() . DIRECTORY_SEPARATOR); |
|
81 | - $this->app->shouldReceive('getRootPath')->andReturn($root->url() . DIRECTORY_SEPARATOR); |
|
80 | + $this->app->shouldReceive('getBasePath')->andReturn($root->getChild('app')->url().DIRECTORY_SEPARATOR); |
|
81 | + $this->app->shouldReceive('getRootPath')->andReturn($root->url().DIRECTORY_SEPARATOR); |
|
82 | 82 | |
83 | 83 | $request = m::mock(Request::class)->makePartial(); |
84 | 84 | $response = m::mock(Response::class)->makePartial(); |