diff --git a/tests/Feature/Checkins/Api/LicenseCheckInTest.php b/tests/Feature/Checkins/Api/LicenseCheckInTest.php index a8aabafb5..385933655 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 70364ca42..7a069b7d2 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();