mirror of
https://github.com/stan220/testcontainers-php.git
synced 2026-09-12 06:29:36 +00:00
Adjust StartedGenericContainer
This commit is contained in:
@@ -13,7 +13,9 @@ abstract class ContainerTestCase extends TestCase
|
||||
|
||||
protected function tearDown(): void
|
||||
{
|
||||
$this->container->stop();
|
||||
if (isset($this->container)) {
|
||||
$this->container->stop();
|
||||
}
|
||||
parent::tearDown();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user