fix issue with passing envs into the container. Remove container registry usage.

This commit is contained in:
Sergei Shitikov
2024-09-01 14:43:34 +02:00
parent 58f811ec8a
commit b0e4f60592
10 changed files with 60 additions and 46 deletions
-4
View File
@@ -10,8 +10,6 @@ use Predis\Connection\ConnectionException;
use Symfony\Component\Process\Process;
use Testcontainers\Container\GenericContainer;
use Testcontainers\Exception\ContainerNotReadyException;
use Testcontainers\Registry;
use Testcontainers\Trait\DockerContainerAwareTrait;
use Testcontainers\Wait\WaitForExec;
use Testcontainers\Wait\WaitForHealthCheck;
use Testcontainers\Wait\WaitForHttp;
@@ -24,8 +22,6 @@ class WaitStrategyTest extends TestCase
public static function tearDownAfterClass(): void
{
parent::tearDownAfterClass();
Registry::cleanup();
}
public function testWaitForExec(): void