forked from aslan/applicant-site
fix test
This commit is contained in:
parent
a70b9e27db
commit
4a34e8ff29
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue