From a69a7f9a50051bd246f6cf685618b6edff8bc012 Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Mon, 20 Feb 2017 16:54:07 +0000 Subject: [PATCH] See if a sleep allows us to find the new note in the database --- tests/Browser/MicropubClientTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/Browser/MicropubClientTest.php b/tests/Browser/MicropubClientTest.php index fa3f3a8d..d7fd4813 100644 --- a/tests/Browser/MicropubClientTest.php +++ b/tests/Browser/MicropubClientTest.php @@ -28,6 +28,7 @@ class MicropubClientTest extends DuskTestCase $browser->visit('/micropub/create') ->type('content', $note) ->press('submit'); + sleep(2); $this->assertDatabaseHas('notes', ['note' => $note]); }); //reset database