@@ -49,7 +49,7 @@ public function testBadController(): void
4949 {
5050 $ this ->expectException ('InvalidArgumentException ' );
5151 $ logger = new Logger (new LoggerConfig ());
52- $ this ->withURI ('http://example.com ' )
52+ $ this ->withUri ('http://example.com ' )
5353 ->withLogger ($ logger )
5454 ->controller (NeverHeardOfIt::class)
5555 ->execute ('index ' );
@@ -59,7 +59,7 @@ public function testBadControllerMethod(): void
5959 {
6060 $ this ->expectException ('InvalidArgumentException ' );
6161 $ logger = new Logger (new LoggerConfig ());
62- $ this ->withURI ('http://example.com ' )
62+ $ this ->withUri ('http://example.com ' )
6363 ->withLogger ($ logger )
6464 ->controller (Home::class)
6565 ->execute ('nothere ' );
@@ -68,7 +68,7 @@ public function testBadControllerMethod(): void
6868 public function testController (): void
6969 {
7070 $ logger = new Logger (new LoggerConfig ());
71- $ result = $ this ->withURI ('http://example.com ' )
71+ $ result = $ this ->withUri ('http://example.com ' )
7272 ->withLogger ($ logger )
7373 ->controller (Home::class)
7474 ->execute ('index ' );
@@ -78,7 +78,7 @@ public function testController(): void
7878
7979 public function testControllerWithoutLogger (): void
8080 {
81- $ result = $ this ->withURI ('http://example.com ' )
81+ $ result = $ this ->withUri ('http://example.com ' )
8282 ->controller (Home::class)
8383 ->execute ('index ' );
8484
@@ -88,7 +88,7 @@ public function testControllerWithoutLogger(): void
8888 public function testPopcornIndex (): void
8989 {
9090 $ logger = new Logger (new LoggerConfig ());
91- $ result = $ this ->withURI ('http://example.com ' )
91+ $ result = $ this ->withUri ('http://example.com ' )
9292 ->withLogger ($ logger )
9393 ->controller (Popcorn::class)
9494 ->execute ('index ' );
@@ -99,7 +99,7 @@ public function testPopcornIndex(): void
9999 public function testPopcornIndex2 (): void
100100 {
101101 $ logger = new Logger (new LoggerConfig ());
102- $ result = $ this ->withURI ('http://example.com ' )
102+ $ result = $ this ->withUri ('http://example.com ' )
103103 ->withLogger ($ logger )
104104 ->controller (Popcorn::class)
105105 ->execute ('index ' );
@@ -111,7 +111,7 @@ public function testPopcornIndex2(): void
111111 public function testPopcornFailure (): void
112112 {
113113 $ logger = new Logger (new LoggerConfig ());
114- $ result = $ this ->withURI ('http://example.com ' )
114+ $ result = $ this ->withUri ('http://example.com ' )
115115 ->withLogger ($ logger )
116116 ->controller (Popcorn::class)
117117 ->execute ('pop ' );
@@ -122,7 +122,7 @@ public function testPopcornFailure(): void
122122 public function testPopcornException (): void
123123 {
124124 $ logger = new Logger (new LoggerConfig ());
125- $ result = $ this ->withURI ('http://example.com ' )
125+ $ result = $ this ->withUri ('http://example.com ' )
126126 ->withLogger ($ logger )
127127 ->controller (Popcorn::class)
128128 ->execute ('popper ' );
@@ -136,7 +136,7 @@ public function testPopcornIndexWithSupport(): void
136136 $ config = new App ();
137137 $ body = '' ;
138138
139- $ result = $ this ->withURI ('http://example.com ' )
139+ $ result = $ this ->withUri ('http://example.com ' )
140140 ->withConfig ($ config )
141141 ->withRequest (service ('request ' , $ config ))
142142 ->withResponse (service ('response ' , $ config ))
@@ -152,7 +152,7 @@ public function testPopcornIndexWithSupport(): void
152152 public function testRequestPassthrough (): void
153153 {
154154 $ logger = new Logger (new LoggerConfig ());
155- $ result = $ this ->withURI ('http://example.com ' )
155+ $ result = $ this ->withUri ('http://example.com ' )
156156 ->withLogger ($ logger )
157157 ->controller (Popcorn::class)
158158 ->execute ('popper ' );
@@ -164,7 +164,7 @@ public function testRequestPassthrough(): void
164164 public function testFailureResponse (): void
165165 {
166166 $ logger = new Logger (new LoggerConfig ());
167- $ result = $ this ->withURI ('http://example.com ' )
167+ $ result = $ this ->withUri ('http://example.com ' )
168168 ->withLogger ($ logger )
169169 ->controller (Popcorn::class)
170170 ->execute ('oops ' );
@@ -176,7 +176,7 @@ public function testFailureResponse(): void
176176 public function testEmptyResponse (): void
177177 {
178178 $ logger = new Logger (new LoggerConfig ());
179- $ result = $ this ->withURI ('http://example.com ' )
179+ $ result = $ this ->withUri ('http://example.com ' )
180180 ->withLogger ($ logger )
181181 ->controller (Popcorn::class)
182182 ->execute ('weasel ' );
@@ -189,7 +189,7 @@ public function testEmptyResponse(): void
189189 public function testRedirect (): void
190190 {
191191 $ logger = new Logger (new LoggerConfig ());
192- $ result = $ this ->withURI ('http://example.com ' )
192+ $ result = $ this ->withUri ('http://example.com ' )
193193 ->withLogger ($ logger )
194194 ->controller (Popcorn::class)
195195 ->execute ('goaway ' );
@@ -200,7 +200,7 @@ public function testRedirect(): void
200200 public function testDOMParserForward (): void
201201 {
202202 $ logger = new Logger (new LoggerConfig ());
203- $ result = $ this ->withURI ('http://example.com ' )
203+ $ result = $ this ->withUri ('http://example.com ' )
204204 ->withLogger ($ logger )
205205 ->controller (Popcorn::class)
206206 ->execute ('index ' );
@@ -211,7 +211,7 @@ public function testDOMParserForward(): void
211211 public function testFailsForward (): void
212212 {
213213 $ logger = new Logger (new LoggerConfig ());
214- $ result = $ this ->withURI ('http://example.com ' )
214+ $ result = $ this ->withUri ('http://example.com ' )
215215 ->withLogger ($ logger )
216216 ->controller (Popcorn::class)
217217 ->execute ('index ' );
@@ -225,7 +225,7 @@ public function testFailsForward(): void
225225 */
226226 public function testResponseOverriding (): void
227227 {
228- $ result = $ this ->withURI ('http://example.com/rest/ ' )
228+ $ result = $ this ->withUri ('http://example.com/rest/ ' )
229229 ->controller (Popcorn::class)
230230 ->execute ('index3 ' );
231231
@@ -271,7 +271,7 @@ public function throwsBody(): never
271271
272272 public function testWithUriUpdatesUriStringAndCurrentUrlValues (): void
273273 {
274- $ result = $ this ->withURI ('http://example.com/foo/bar/1/2/3 ' )
274+ $ result = $ this ->withUri ('http://example.com/foo/bar/1/2/3 ' )
275275 ->controller (Newautorouting::class)
276276 ->execute ('postSave ' , '1 ' , '2 ' , '3 ' );
277277
0 commit comments