From e96e097d937a776fba01ea3ebdb6f9a48dcb9b56 Mon Sep 17 00:00:00 2001 From: Callum Axon Date: Thu, 28 Mar 2024 20:21:01 +0000 Subject: [PATCH] test: add sanity check for roster rendering without Livewire helpers --- tests/Feature/Roster/SanityCheck.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 tests/Feature/Roster/SanityCheck.php diff --git a/tests/Feature/Roster/SanityCheck.php b/tests/Feature/Roster/SanityCheck.php new file mode 100644 index 0000000000..8f823cf4b9 --- /dev/null +++ b/tests/Feature/Roster/SanityCheck.php @@ -0,0 +1,18 @@ +create(); + $response = $this->actingAs($account)->get('/roster'); + + $response->assertStatus(200); + $response->assertSee("Hello, $account->name_first!"); + } +}