See if a sleep allows us to find the new note in the database
This commit is contained in:
parent
9b0108a7d6
commit
a69a7f9a50
1 changed files with 1 additions and 0 deletions
|
@ -28,6 +28,7 @@ class MicropubClientTest extends DuskTestCase
|
||||||
$browser->visit('/micropub/create')
|
$browser->visit('/micropub/create')
|
||||||
->type('content', $note)
|
->type('content', $note)
|
||||||
->press('submit');
|
->press('submit');
|
||||||
|
sleep(2);
|
||||||
$this->assertDatabaseHas('notes', ['note' => $note]);
|
$this->assertDatabaseHas('notes', ['note' => $note]);
|
||||||
});
|
});
|
||||||
//reset database
|
//reset database
|
||||||
|
|
Loading…
Add table
Reference in a new issue