File tree Expand file tree Collapse file tree 1 file changed +3
-16
lines changed Expand file tree Collapse file tree 1 file changed +3
-16
lines changed Original file line number Diff line number Diff line change @@ -52,26 +52,13 @@ public function testCallGet(): void
5252 ]);
5353 $ response = $ this ->get ('home ' );
5454
55- $ response ->assertSee ('Hello World ' );
56- $ response ->assertDontSee ('Again ' );
57- }
58-
59- public function testCallSimpleGet (): void
60- {
61- $ this ->withRoutes ([
62- [
63- 'add ' ,
64- 'home ' ,
65- static fn () => 'Hello Earth ' ,
66- ],
67- ]);
68- $ response = $ this ->call ('get ' , 'home ' );
69-
7055 $ this ->assertInstanceOf (TestResponse::class, $ response );
7156 $ this ->assertInstanceOf (Response::class, $ response ->response ());
7257 $ this ->assertTrue ($ response ->isOK ());
73- $ this ->assertSame ('Hello Earth ' , $ response ->response ()->getBody ());
58+ $ this ->assertSame ('Hello World ' , $ response ->response ()->getBody ());
7459 $ this ->assertSame (200 , $ response ->response ()->getStatusCode ());
60+ $ response ->assertSee ('Hello World ' );
61+ $ response ->assertDontSee ('Again ' );
7562 }
7663
7764 public function testClosureWithEcho ()
You can’t perform that action at this time.
0 commit comments