test improvements

This commit is contained in:
Sergei Shitikov
2025-01-01 23:29:57 +01:00
parent 774743a7ce
commit dfff7ef282
11 changed files with 129 additions and 34 deletions
+3 -2
View File
@@ -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();
}
}