Remove locations

This commit is contained in:
Lance Pioch
2024-03-14 02:23:30 -04:00
parent 9fb0c451f5
commit e4cee4d69d
66 changed files with 76 additions and 1628 deletions

View File

@@ -61,7 +61,7 @@ class DeployServerDatabaseServiceTest extends IntegrationTestCase
{
$server = $this->createServerModel();
$node = Node::factory()->create(['location_id' => $server->location->id]);
$node = Node::factory()->create();
DatabaseHost::factory()->create(['node_id' => $node->id]);
config()->set('panel.client_features.databases.allow_random', false);
@@ -96,7 +96,7 @@ class DeployServerDatabaseServiceTest extends IntegrationTestCase
{
$server = $this->createServerModel();
$node = Node::factory()->create(['location_id' => $server->location->id]);
$node = Node::factory()->create();
DatabaseHost::factory()->create(['node_id' => $node->id]);
$host = DatabaseHost::factory()->create(['node_id' => $server->node_id]);
@@ -123,7 +123,7 @@ class DeployServerDatabaseServiceTest extends IntegrationTestCase
{
$server = $this->createServerModel();
$node = Node::factory()->create(['location_id' => $server->location->id]);
$node = Node::factory()->create();
$host = DatabaseHost::factory()->create(['node_id' => $node->id]);
$this->managementService->expects('create')->with($server, [