mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-06 23:33:13 +08:00
Updated API test fixtures to include API keys with roles
This commit is contained in:
@@ -12,8 +12,11 @@ class DomainFixture extends AbstractFixture
|
||||
{
|
||||
public function load(ObjectManager $manager): void
|
||||
{
|
||||
$orphanDomain = new Domain('this_domain_is_detached.com');
|
||||
$manager->persist($orphanDomain);
|
||||
$domain = new Domain('example.com');
|
||||
$manager->persist($domain);
|
||||
$this->addReference('example_domain', $domain);
|
||||
|
||||
$manager->persist(new Domain('this_domain_is_detached.com'));
|
||||
$manager->flush();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user