From 24976a8d0c0d3dd1b6f12b3fb748f7cd9444f2f3 Mon Sep 17 00:00:00 2001 From: Daniel Ruf Date: Sat, 7 Sep 2019 13:20:16 +0200 Subject: [PATCH] Prevent undefined stdout index error - #3727 (cherry picked from commit 663abe77908f88498a9a0f9703c4731833411efe) --- src/Runner/PhptTestCase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Runner/PhptTestCase.php b/src/Runner/PhptTestCase.php index e247d21fdc4..bccc70b910b 100644 --- a/src/Runner/PhptTestCase.php +++ b/src/Runner/PhptTestCase.php @@ -177,7 +177,7 @@ public function run(TestResult $result = null): TestResult } try { - $this->assertPhptExpectation($sections, $jobResult['stdout']); + $this->assertPhptExpectation($sections, $this->output); } catch (AssertionFailedError $e) { $failure = $e;