summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-10-26 16:37:54 +0100
committerJoas Schilling <coding@schilljs.com>2020-10-26 16:37:54 +0100
commit46e3ea4e4179e5e2794d1a73dab9f64e6665c4e0 (patch)
treef6c4a91520b5ae1b726aaf3bc641043fbbfb52b2 /build
parentf9ea3d86892c4720b6b32e75161e434b718eb749 (diff)
downloadnextcloud-server-46e3ea4e4179e5e2794d1a73dab9f64e6665c4e0.tar.gz
nextcloud-server-46e3ea4e4179e5e2794d1a73dab9f64e6665c4e0.zip
Fix undefined variable
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'build')
-rw-r--r--build/integration/features/bootstrap/CommandLine.php4
1 files 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 . '"');
}
}
}