Skip to content

Commit

Permalink
Check if user exists in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarpsvo committed Mar 4, 2021
1 parent 6ddf6ff commit e2cc5ff
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/Browser/DetailTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');

Expand Down

0 comments on commit e2cc5ff

Please sign in to comment.