feat: Add postgres container

This commit is contained in:
Steffen Beisenherz
2022-10-23 14:56:44 +02:00
parent b90e75aa3d
commit 45f0e11f69
7 changed files with 61 additions and 5 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ use Testcontainer\Wait\WaitForLog;
class RedisContainer extends Container
{
public function __construct(string $version = 'latest')
private function __construct(string $version)
{
parent::__construct('redis:' . $version);
$this->withWait(new WaitForLog('Ready to accept connections'));