database-host: reverse node relationship

This commit is contained in:
Matthew Penner 2022-12-14 18:53:31 -07:00
parent 0c5416ee27
commit 507a802dec
No known key found for this signature in database
5 changed files with 20 additions and 24 deletions

View file

@ -24,7 +24,7 @@ class DatabaseAuthorizationTest extends ClientApiIntegrationTestCase
// And as no access to $server3.
$server3 = $this->createServerModel();
$host = DatabaseHost::factory()->create([]);
$host = DatabaseHost::factory()->create();
// Set the API $user as a subuser of server 2, but with no permissions
// to do anything with the databases for that server.