File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 302302 $ routeResult = RouteResult::fromRoute (new Route ('/about ' , Double::instance (['implements ' => MiddlewareInterface::class])));
303303
304304 allow ($ this ->router )->toReceive ('match ' )->andReturn ($ routeResult );
305+ allow ($ this ->uri )->toReceive ('__toString ' )->andReturn ('https://www.example.com/about ' );
305306 allow ($ this ->request )->toReceive ('getUri ' )->andReturn ($ this ->uri );
306307 allow ($ this ->uri )->toReceive ('getScheme ' )->andReturn ('http ' );
307308 allow ($ this ->uri )->toReceive ('withScheme ' )->andReturn ($ this ->uri );
308- allow ($ this ->uri )->toReceive ('__toString ' )->andReturn ('https://www. example.com/about ' );
309+ allow ($ this ->uri )->toReceive ('__toString ' )->andReturn ('https://example.com/about ' );
309310
310311 $ handler = Double::instance (['implements ' => RequestHandlerInterface::class]);
311312 allow ($ handler )->toReceive ('handle ' )->with ($ this ->request )->andReturn ($ this ->response );
You can’t perform that action at this time.
0 commit comments