mirror of
https://github.com/stan220/testcontainers-php.git
synced 2026-09-08 19:29:39 +00:00
- Move most of the stuff for backwards compatibility support into one class
- Added random port logic - Updated wait wtrategies - API alignments to make it similar to other official implementations - ...
This commit is contained in:
@@ -5,14 +5,14 @@ declare(strict_types=1);
|
||||
namespace Testcontainers\Tests\Integration;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Testcontainers\Container\GenericContainer;
|
||||
use Testcontainers\Container\StartedTestContainer;
|
||||
|
||||
abstract class ContainerTestCase extends TestCase
|
||||
{
|
||||
protected static GenericContainer $container;
|
||||
protected static StartedTestContainer $container;
|
||||
|
||||
protected function tearDown(): void
|
||||
{
|
||||
self::$container->remove();
|
||||
self::$container->stop();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user