File tree Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,6 @@ function it_adds_path(
4141
4242 $ uri ->withPath ('/api/users ' )->shouldBeCalledTimes (1 )->willReturn ($ uri );
4343 $ uri ->getPath ()->shouldBeCalled ()->willReturn ('/users ' );
44- $ uri ->__toString ()->shouldBeCalled ()->willReturn ('https://example.com/api/users ' );
4544
4645 $ this ->beConstructedWith ($ host );
4746 $ this ->handleRequest ($ request , function () {}, function () {});
@@ -62,7 +61,6 @@ function it_removes_ending_slashes(
6261
6362 $ uri ->withPath ('/api/users ' )->shouldBeCalled ()->willReturn ($ uri );
6463 $ uri ->getPath ()->shouldBeCalled ()->willReturn ('/users ' );
65- $ uri ->__toString ()->shouldBeCalled ()->willReturn ('https://example.com/api/users ' );
6664
6765 $ this ->beConstructedWith ($ host );
6866 $ this ->handleRequest ($ request , function () {}, function () {});
Original file line number Diff line number Diff line change @@ -50,7 +50,6 @@ function it_adds_domain_and_path(
5050 $ uri ->withPath ('/api/users ' )->shouldBeCalled ()->willReturn ($ uri );
5151 $ uri ->getHost ()->shouldBeCalled ()->willReturn ('' );
5252 $ uri ->getPath ()->shouldBeCalled ()->willReturn ('/users ' );
53- $ uri ->__toString ()->shouldBeCalled ()->willReturn ('https://example.com/api/users ' );
5453
5554 $ this ->beConstructedWith ($ host );
5655 $ this ->handleRequest ($ request , function () {}, function () {});
@@ -96,7 +95,6 @@ function it_replaces_domain_and_adds_path(
9695 $ uri ->withPort (8000 )->shouldBeCalled ()->willReturn ($ uri );
9796 $ uri ->withPath ('/api/users ' )->shouldBeCalled ()->willReturn ($ uri );
9897 $ uri ->getPath ()->shouldBeCalled ()->willReturn ('/users ' );
99- $ uri ->__toString ()->shouldBeCalled ()->willReturn ('https://example.com/api/users ' );
10098
10199 $ this ->beConstructedWith ($ host , ['replace ' => true ]);
102100 $ this ->handleRequest ($ request , function () {}, function () {});
You can’t perform that action at this time.
0 commit comments