We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc10e54 commit 9d21419Copy full SHA for 9d21419
tests/Docker/Standalone/InitTest.php
@@ -49,7 +49,13 @@ public function testKernelSecretNotRegeneratedOnRestart(): void
49
50
$initialSecret = $this->filesystem->readFile(__DIR__ . '/config/secrets/kernel_secret');
51
52
- $this->container->restart();
+ $this->container->stop();
53
+
54
+ $this->container = (new GenericContainer('dirigent-standalone'))
55
+ ->withMount(__DIR__ . '/config', '/srv/config')
56
+ ->withMount(__DIR__ . '/scripts', '/srv/scripts/tests')
57
+ ->withWait(new WaitForLog('ready to handle connections'))
58
+ ->start();
59
60
$this->assertContainerLogsContain('Kernel secret exists');
61
0 commit comments