diff --git a/tests/Feature/Http/Controllers/ChatControllerTest.php b/tests/Feature/Http/Controllers/ChatControllerTest.php index 92df3a7c..ea17477c 100644 --- a/tests/Feature/Http/Controllers/ChatControllerTest.php +++ b/tests/Feature/Http/Controllers/ChatControllerTest.php @@ -102,11 +102,10 @@ public function test_adds_meta_data_and_date_range() 'date_range' => DateRangesEnum::ThisWeek->value, ])->assertOk(); - $this->assertDatabaseCount('messages', 1); $message = Message::first(); - $this->assertEquals("this_week", $message->meta_data->date_range); + $this->assertEquals('this_week', $message->meta_data->date_range); } public function test_a_function_based_chat()