From 46e3ea4e4179e5e2794d1a73dab9f64e6665c4e0 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 26 Oct 2020 16:37:54 +0100 Subject: [PATCH] Fix undefined variable Signed-off-by: Joas Schilling --- build/integration/features/bootstrap/CommandLine.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/integration/features/bootstrap/CommandLine.php b/build/integration/features/bootstrap/CommandLine.php index 060e2b5be26..d6e614be90f 100644 --- a/build/integration/features/bootstrap/CommandLine.php +++ b/build/integration/features/bootstrap/CommandLine.php @@ -160,7 +160,7 @@ trait CommandLine { public function theCommandOutputContainsTheText($text) { $lines = $this->findLines($this->lastStdOut, $text); if (empty($lines)) { - throw new \Exception('The command did not output the expected text on stdout "' . $exceptionText . '"'); + throw new \Exception('The command did not output the expected text on stdout "' . $text . '"'); } } @@ -170,7 +170,7 @@ trait CommandLine { public function theCommandErrorOutputContainsTheText($text) { $lines = $this->findLines($this->lastStdErr, $text); if (empty($lines)) { - throw new \Exception('The command did not output the expected text on stderr "' . $exceptionText . '"'); + throw new \Exception('The command did not output the expected text on stderr "' . $text . '"'); } } } -- 2.39.5