mirror of
https://github.com/stan220/testcontainers-php.git
synced 2026-09-08 23:29:31 +00:00
- Added random port logic - Updated wait wtrategies - API alignments to make it similar to other official implementations - ...
19 lines
357 B
PHP
19 lines
357 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Testcontainers\Tests\Integration;
|
|
|
|
use PHPUnit\Framework\TestCase;
|
|
use Testcontainers\Container\StartedTestContainer;
|
|
|
|
abstract class ContainerTestCase extends TestCase
|
|
{
|
|
protected static StartedTestContainer $container;
|
|
|
|
protected function tearDown(): void
|
|
{
|
|
self::$container->stop();
|
|
}
|
|
}
|