Arhell · GitHub

Exceptionally trivial patch for a test I had written locally when testing this problem originally:

Index: tests/data/exception_in_before/tests/_support/Helper/Unit.php
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/tests/data/exception_in_before/tests/_support/Helper/Unit.php b/tests/data/exception_in_before/tests/_support/Helper/Unit.php
--- a/tests/data/exception_in_before/tests/_support/Helper/Unit.php	(revision 3c27deb02abfc9d94f52669a584c8a88b58faed1)
+++ b/tests/data/exception_in_before/tests/_support/Helper/Unit.php	(date 1666412498428)
@@ -8,4 +8,9 @@
     {
         throw new \Exception('in before');
     }
+
+    public function _failed(\Codeception\TestInterface $test, \Exception $fail)
+    {
+        $this->assertInstanceOf(\Codeception\ResultAggregator::class, $test->getResultAggregator());
+    }
 }

Read the original on github.com ↗