attempt to fix failing integration tests

This commit is contained in:
Matthew Penner
2021-01-16 11:28:46 -07:00
parent 4f83a894a3
commit 1b05ca10e4
8 changed files with 422 additions and 416 deletions

View File

@@ -158,9 +158,12 @@ class ServerCreationServiceTest extends IntegrationTestCase
/** @var \Pterodactyl\Models\User $user */
$user = User::factory()->create();
/** @var \Pterodactyl\Models\Location $location */
$location = Location::factory()->create();
/** @var \Pterodactyl\Models\Node $node */
$node = Node::factory()->create([
'location_id' => Location::factory()->create()->id,
'location_id' => $location->id,
]);
/** @var \Pterodactyl\Models\Allocation $allocation */