mirror of
https://github.com/stan220/testcontainers-php.git
synced 2026-09-08 21:29:39 +00:00
test improvements
This commit is contained in:
@@ -9,10 +9,11 @@ use Testcontainers\Container\StartedTestContainer;
|
||||
|
||||
abstract class ContainerTestCase extends TestCase
|
||||
{
|
||||
protected static StartedTestContainer $container;
|
||||
protected StartedTestContainer $container;
|
||||
|
||||
protected function tearDown(): void
|
||||
{
|
||||
self::$container->stop();
|
||||
$this->container->stop();
|
||||
parent::tearDown();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user