fix test
Tests & Lint & Deploy to Railway / build (2.6.6, 20.x, 8.3) (push) Successful in 2m8s Details
Tests & Lint & Deploy to Railway / deploy (push) Successful in 45s Details

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);
} }