Skip to content

Commit f78f10d

Browse files
authored
Merge pull request #52 from testcontainers/fix/local-test-execution-orbstack
fix: gateway difference on orbstack
2 parents 6c5f6b2 + 157d929 commit f78f10d

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)