]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix undefined variable
authorJoas Schilling <coding@schilljs.com>
Mon, 26 Oct 2020 15:37:54 +0000 (16:37 +0100)
committerJoas Schilling <coding@schilljs.com>
Mon, 26 Oct 2020 15:37:54 +0000 (16:37 +0100)
Signed-off-by: Joas Schilling <coding@schilljs.com>
build/integration/features/bootstrap/CommandLine.php

index 060e2b5be269edf09229ea0d114fe76126dbbe41..d6e614be90f72501252f9afe9c5808ca1ff9715c 100644 (file)
@@ -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 . '"');
                }
        }
 }