Implement strict Eloquent when developing
This commit is contained in:
parent
5f82c82818
commit
3f4634710c
9 changed files with 19 additions and 15 deletions
|
@ -41,6 +41,7 @@ class NotesTest extends TestCase
|
|||
$this->actingAs($user)->post('/admin/notes', [
|
||||
'content' => 'A new test note',
|
||||
]);
|
||||
|
||||
$this->assertDatabaseHas('notes', [
|
||||
'note' => 'A new test note',
|
||||
]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue