Skip to content

Commit 157d929

Browse files
committed
fix: gateway difference on orbstack
1 parent b77cd2b commit 157d929

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

tests/Unit/Utils/HostResolverTest.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,11 @@ protected function isInContainer(): bool
159159
{
160160
return true;
161161
}
162+
163+
protected function findDefaultGateway(): ?string
164+
{
165+
return null;
166+
}
162167
};
163168

164169
putenv('DOCKER_HOST=unix://docker:2375');
@@ -184,6 +189,11 @@ protected function isInContainer(): bool
184189
{
185190
return true;
186191
}
192+
193+
protected function findDefaultGateway(): ?string
194+
{
195+
return null;
196+
}
187197
};
188198

189199
putenv('DOCKER_HOST=unix://podman.sock');

0 commit comments

Comments
 (0)