mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-11 01:33:11 +08:00
Load specific env file when running API tests
This commit is contained in:
@@ -25,10 +25,7 @@ class RoleResolverTest extends TestCase
|
||||
protected function setUp(): void
|
||||
{
|
||||
$this->domainService = $this->createMock(DomainServiceInterface::class);
|
||||
$this->resolver = new RoleResolver(
|
||||
$this->domainService,
|
||||
new UrlShortenerOptions(domain: ['hostname' => 'default.com']),
|
||||
);
|
||||
$this->resolver = new RoleResolver($this->domainService, new UrlShortenerOptions('default.com'));
|
||||
}
|
||||
|
||||
#[Test, DataProvider('provideRoles')]
|
||||
|
||||
Reference in New Issue
Block a user