remove debugging code.

This commit is contained in:
Dave Smith-Hayes 2024-12-08 22:03:40 -05:00
parent 79de277f2d
commit 5cd30f6f10

View File

@ -127,8 +127,6 @@ class ControllerTest extends TestCase
$body = $response->getBody(); $body = $response->getBody();
// the flash class is in the body for this test case // the flash class is in the body for this test case
//
echo (string) $body;
$this->assertTrue(str_contains($body, '<div class="flash error" role="alert">')); $this->assertTrue(str_contains($body, '<div class="flash error" role="alert">'));
$this->assertTrue(str_contains($body, "Error message")); $this->assertTrue(str_contains($body, "Error message"));
$this->assertEmpty($flash->all()); $this->assertEmpty($flash->all());