You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$this->assertFileContainsString('.env', 'MY_CUSTOM_VAR', '.env contains test values');
45
+
$this->assertFileContainsString('.env', 'my_custom_var_value', '.env contains test values');
46
+
$this->cmd('ahoy cli "printenv | grep MY_CUSTOM_VAR"', 'my_custom_var_value', 'Assert that test variable and values are available inside of containers.');
47
+
$this->cmd('ahoy cli \'echo $MY_CUSTOM_VAR | grep my_custom_var_value\'', 'my_custom_var_value', 'Assert that test variable and values are available inside of containers.');
56
48
57
49
// Restore file, apply changes and assert that original behaviour has been
58
50
// restored.
@@ -71,26 +63,25 @@ protected function stepEnvChanges(): void {
$this->assertFileContainsString($minified_file, 'background:' . $test_color1, 'Assets compiled for production are minified (no spaces between properties and their values)');
56
54
57
55
$this->logSubstep('Build FE assets for development');
$this->assertFileContainsString($minified_file, 'background: ' . $test_color2, 'Assets compiled for development are not minified (contains spaces between properties and their values)');
0 commit comments