From e2cc5fff69ce793af9a536ab9ae1195a37bb9b39 Mon Sep 17 00:00:00 2001 From: Tarvo Reinpalu Date: Thu, 4 Mar 2021 12:06:32 +0200 Subject: [PATCH] Check if user exists in tests --- tests/Browser/DetailTest.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/Browser/DetailTest.php b/tests/Browser/DetailTest.php index a90356c..d8a5c74 100644 --- a/tests/Browser/DetailTest.php +++ b/tests/Browser/DetailTest.php @@ -13,6 +13,9 @@ public function test_settings_appears_in_sidebar_with_no_fields() $this->setupLaravel(); $this->browse(function (Browser $browser) { + dump('Do we have user?'); + dump(User::find(1)); + $browser->loginAs(User::find(1)) ->visit('nova');