This commit is contained in:
aslan 2024-04-25 09:48:11 +03:00
parent a70b9e27db
commit 4a34e8ff29
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ class FeedbackTest extends TestCase
->withSession(['banned' => false]) ->withSession(['banned' => false])
->post(route('feedback.store'), $this->data); ->post(route('feedback.store'), $this->data);
$response->assertJson(["result" => "success"]); $response->assertRedirect();
$this->assertDatabaseHas('feedback', $this->data); $this->assertDatabaseHas('feedback', $this->data);
} }