X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/8c945034b9f12e728c601502e730d2cfe4c937cf..refs/pull/3918/head:/tests/TestCase.php diff --git a/tests/TestCase.php b/tests/TestCase.php index 356fdaa37..d0dd7d772 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -330,7 +330,7 @@ abstract class TestCase extends BaseTestCase protected function assertNotificationContains(\Illuminate\Testing\TestResponse $resp, string $text) { - return $this->withHtml($resp)->assertElementContains('[notification]', $text); + return $this->withHtml($resp)->assertElementContains('.notification[role="alert"]', $text); } /**