mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-08 00:03:12 +08:00
Load specific env file when running API tests
This commit is contained in:
@@ -37,7 +37,7 @@ readonly class DomainService implements DomainServiceInterface
|
||||
|
||||
return [
|
||||
DomainItem::forDefaultDomain(
|
||||
$this->urlShortenerOptions->defaultDomain(),
|
||||
$this->urlShortenerOptions->defaultDomain,
|
||||
$default ?? new EmptyNotFoundRedirectConfig(),
|
||||
),
|
||||
...$mappedDomains,
|
||||
@@ -56,7 +56,7 @@ readonly class DomainService implements DomainServiceInterface
|
||||
$restOfDomains = [];
|
||||
|
||||
foreach ($allDomains as $domain) {
|
||||
if ($domain->authority === $this->urlShortenerOptions->defaultDomain()) {
|
||||
if ($domain->authority === $this->urlShortenerOptions->defaultDomain) {
|
||||
$defaultDomain = $domain;
|
||||
} else {
|
||||
$restOfDomains[] = $domain;
|
||||
|
||||
Reference in New Issue
Block a user