Skip to content

Commit a0b2401

Browse files
committed
test: remove redundant test
1 parent 363c3aa commit a0b2401

File tree

1 file changed

+3
-16
lines changed

1 file changed

+3
-16
lines changed

tests/system/Test/FeatureTestTraitTest.php

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff 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()

0 commit comments

Comments
 (0)