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(
41
41
42
42
$ uri ->withPath ('/api/users ' )->shouldBeCalledTimes (1 )->willReturn ($ uri );
43
43
$ uri ->getPath ()->shouldBeCalled ()->willReturn ('/users ' );
44
- $ uri ->__toString ()->shouldBeCalled ()->willReturn ('https://example.com/api/users ' );
45
44
46
45
$ this ->beConstructedWith ($ host );
47
46
$ this ->handleRequest ($ request , function () {}, function () {});
@@ -62,7 +61,6 @@ function it_removes_ending_slashes(
62
61
63
62
$ uri ->withPath ('/api/users ' )->shouldBeCalled ()->willReturn ($ uri );
64
63
$ uri ->getPath ()->shouldBeCalled ()->willReturn ('/users ' );
65
- $ uri ->__toString ()->shouldBeCalled ()->willReturn ('https://example.com/api/users ' );
66
64
67
65
$ this ->beConstructedWith ($ host );
68
66
$ 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(
50
50
$ uri ->withPath ('/api/users ' )->shouldBeCalled ()->willReturn ($ uri );
51
51
$ uri ->getHost ()->shouldBeCalled ()->willReturn ('' );
52
52
$ uri ->getPath ()->shouldBeCalled ()->willReturn ('/users ' );
53
- $ uri ->__toString ()->shouldBeCalled ()->willReturn ('https://example.com/api/users ' );
54
53
55
54
$ this ->beConstructedWith ($ host );
56
55
$ this ->handleRequest ($ request , function () {}, function () {});
@@ -96,7 +95,6 @@ function it_replaces_domain_and_adds_path(
96
95
$ uri ->withPort (8000 )->shouldBeCalled ()->willReturn ($ uri );
97
96
$ uri ->withPath ('/api/users ' )->shouldBeCalled ()->willReturn ($ uri );
98
97
$ uri ->getPath ()->shouldBeCalled ()->willReturn ('/users ' );
99
- $ uri ->__toString ()->shouldBeCalled ()->willReturn ('https://example.com/api/users ' );
100
98
101
99
$ this ->beConstructedWith ($ host , ['replace ' => true ]);
102
100
$ this ->handleRequest ($ request , function () {}, function () {});
You can’t perform that action at this time.
0 commit comments