diff --git a/tests/Feature/Checkins/Api/LicenseCheckInTest.php b/tests/Feature/Checkins/Api/LicenseCheckInTest.php index a8aabafb5c..385933655c 100644 --- a/tests/Feature/Checkins/Api/LicenseCheckInTest.php +++ b/tests/Feature/Checkins/Api/LicenseCheckInTest.php @@ -1,5 +1,5 @@ superuser()->make(); + $authUser = User::factory()->superuser()->create(); $this->actingAsForApi($authUser); $license = License::factory()->create(); diff --git a/tests/Feature/Checkouts/Api/LicenseCheckOutTest.php b/tests/Feature/Checkouts/Api/LicenseCheckOutTest.php index 70364ca428..7a069b7d28 100644 --- a/tests/Feature/Checkouts/Api/LicenseCheckOutTest.php +++ b/tests/Feature/Checkouts/Api/LicenseCheckOutTest.php @@ -1,5 +1,5 @@ superuser()->make(); + $authUser = User::factory()->superuser()->create(); $this->actingAsForApi($authUser); $license = License::factory()->create();