From 881cde4d9867951e5b33e1a3ca18dbac97f48ee1 Mon Sep 17 00:00:00 2001 From: Godfrey M Date: Tue, 18 Mar 2025 14:18:49 -0700 Subject: [PATCH] change namesspaces and use create instead of make --- tests/Feature/Checkins/Api/LicenseCheckInTest.php | 4 ++-- tests/Feature/Checkouts/Api/LicenseCheckOutTest.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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();