change namesspaces and use create instead of make

This commit is contained in:
Godfrey M 2025-03-18 14:18:49 -07:00
parent bf3837c49d
commit 881cde4d98
2 changed files with 4 additions and 4 deletions

View file

@ -1,5 +1,5 @@
<?php
namespace Feature\Checkins\Api;
namespace Tests\Feature\Checkins\Api;
use App\Models\License;
use App\Models\LicenseSeat;
@ -9,7 +9,7 @@ use Tests\TestCase;
class LicenseCheckInTest extends TestCase {
public function testLicenseCheckin()
{
$authUser = User::factory()->superuser()->make();
$authUser = User::factory()->superuser()->create();
$this->actingAsForApi($authUser);
$license = License::factory()->create();

View file

@ -1,5 +1,5 @@
<?php
namespace Feature\Checkouts\Api;
namespace Tests\Feature\Checkouts\Api;
use App\Models\License;
use App\Models\LicenseSeat;
@ -9,7 +9,7 @@ use Tests\TestCase;
class LicenseCheckOutTest extends TestCase {
public function testLicenseCheckout()
{
$authUser = User::factory()->superuser()->make();
$authUser = User::factory()->superuser()->create();
$this->actingAsForApi($authUser);
$license = License::factory()->create();