Loading core/tests/Drupal/FunctionalTests/Core/Recipe/RecipeTestTrait.php +1 −1 Original line number Diff line number Diff line Loading @@ -84,7 +84,7 @@ protected function applyRecipe(string $path, int $expected_exit_code = 0, array ->setTimeout(500); $process->run(); $this->assertSame($expected_exit_code, $process->getExitCode(), $process->getErrorOutput()); $this->assertSame($expected_exit_code, $process->getExitCode(), sprintf("Process exit code mismatch.\nExpected: %d\nActual: %d\n\nSTDOUT:\n%s\n\nSTDERR:\n%s", $expected_exit_code, $process->getExitCode(), $process->getOutput(), $process->getErrorOutput())); // Applying a recipe: // - creates new checkpoints, hence the "state" service in the test runner // is outdated Loading Loading
core/tests/Drupal/FunctionalTests/Core/Recipe/RecipeTestTrait.php +1 −1 Original line number Diff line number Diff line Loading @@ -84,7 +84,7 @@ protected function applyRecipe(string $path, int $expected_exit_code = 0, array ->setTimeout(500); $process->run(); $this->assertSame($expected_exit_code, $process->getExitCode(), $process->getErrorOutput()); $this->assertSame($expected_exit_code, $process->getExitCode(), sprintf("Process exit code mismatch.\nExpected: %d\nActual: %d\n\nSTDOUT:\n%s\n\nSTDERR:\n%s", $expected_exit_code, $process->getExitCode(), $process->getOutput(), $process->getErrorOutput())); // Applying a recipe: // - creates new checkpoints, hence the "state" service in the test runner // is outdated Loading