diff --git a/tests/Feature/admin/FeedbackTest.php b/tests/Feature/admin/FeedbackTest.php index 671bbe0..1e4bc47 100644 --- a/tests/Feature/admin/FeedbackTest.php +++ b/tests/Feature/admin/FeedbackTest.php @@ -48,7 +48,7 @@ class FeedbackTest extends TestCase ->withSession(['banned' => false]) ->post(route('feedback.store'), $this->data); - $response->assertJson(["result" => "success"]); + $response->assertRedirect(); $this->assertDatabaseHas('feedback', $this->data); }