diff --git a/e2e/scenario0/vendor-bin/ns1/composer.json b/e2e/scenario0/vendor-bin/ns1/composer.json index 0967ef4..2c63c08 100644 --- a/e2e/scenario0/vendor-bin/ns1/composer.json +++ b/e2e/scenario0/vendor-bin/ns1/composer.json @@ -1 +1,2 @@ -{} +{ +} diff --git a/e2e/scenario0/vendor-bin/ns2/composer.json b/e2e/scenario0/vendor-bin/ns2/composer.json index 0967ef4..2c63c08 100644 --- a/e2e/scenario0/vendor-bin/ns2/composer.json +++ b/e2e/scenario0/vendor-bin/ns2/composer.json @@ -1 +1,2 @@ -{} +{ +} diff --git a/e2e/scenario1/vendor-bin/ns1/composer.json b/e2e/scenario1/vendor-bin/ns1/composer.json index 0967ef4..2c63c08 100644 --- a/e2e/scenario1/vendor-bin/ns1/composer.json +++ b/e2e/scenario1/vendor-bin/ns1/composer.json @@ -1 +1,2 @@ -{} +{ +} diff --git a/e2e/scenario1/vendor-bin/ns2/composer.json b/e2e/scenario1/vendor-bin/ns2/composer.json index 0967ef4..2c63c08 100644 --- a/e2e/scenario1/vendor-bin/ns2/composer.json +++ b/e2e/scenario1/vendor-bin/ns2/composer.json @@ -1 +1,2 @@ -{} +{ +} diff --git a/e2e/scenario11/vendor-bin/ns1/composer.json b/e2e/scenario11/vendor-bin/ns1/composer.json index 0967ef4..2c63c08 100644 --- a/e2e/scenario11/vendor-bin/ns1/composer.json +++ b/e2e/scenario11/vendor-bin/ns1/composer.json @@ -1 +1,2 @@ -{} +{ +} diff --git a/e2e/scenario3/vendor-bin/ns1/composer.json b/e2e/scenario3/vendor-bin/ns1/composer.json index 0967ef4..2c63c08 100644 --- a/e2e/scenario3/vendor-bin/ns1/composer.json +++ b/e2e/scenario3/vendor-bin/ns1/composer.json @@ -1 +1,2 @@ -{} +{ +} diff --git a/e2e/scenario8/vendor-bin/ns1/composer.json b/e2e/scenario8/vendor-bin/ns1/composer.json index 0967ef4..2c63c08 100644 --- a/e2e/scenario8/vendor-bin/ns1/composer.json +++ b/e2e/scenario8/vendor-bin/ns1/composer.json @@ -1 +1,2 @@ -{} +{ +} diff --git a/tests/EndToEndTest.php b/tests/EndToEndTest.php index d45a685..a492516 100644 --- a/tests/EndToEndTest.php +++ b/tests/EndToEndTest.php @@ -56,11 +56,11 @@ public function test_it_passes_the_e2e_test(string $scenarioPath): void $actualPath = $scenarioPath.'/actual.txt'; - if (file_exists($actualPath)) { - $originalContent = file_get_contents($scenarioPath.'/actual.txt'); - } else { - $originalContent = 'File was not created.'; - } + $originalContent = file_exists($actualPath) + ? self::removeFlexMessages( + file_get_contents($scenarioPath . '/actual.txt') + ) + : 'File was not created.'; $errorMessage = <<