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 269269
270270 allow ($ this ->router )->toReceive ('match ' )->andReturn ($ routeResult );
271271 allow ($ this ->request )->toReceive ('getUri ' )->andReturn ($ this ->uri );
272+ allow ($ this ->uri )->toReceive ('__toString ' )->andReturn ('https://example.com/about ' );
272273 allow ($ this ->uri )->toReceive ('getScheme ' )->andReturn ('http ' );
273274 allow ($ this ->uri )->toReceive ('withScheme ' )->andReturn ($ this ->uri );
274- allow ($ this ->uri )->toReceive ('__toString ' )->andReturn ('https://example.com/about ' );
275+ allow ($ this ->uri )->toReceive ('__toString ' )->andReturn ('https://www. example.com/about ' );
275276
276277 $ handler = Double::instance (['implements ' => RequestHandlerInterface::class]);
277278 allow ($ handler )->toReceive ('handle ' )->with ($ this ->request )->andReturn ($ this ->response );
You can’t perform that action at this time.
0 commit comments