We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
beforeTestMethod
1 parent 80a3982 commit 1075a88Copy full SHA for 1075a88
classes/test.php
@@ -343,7 +343,6 @@ public function beforeTestMethod($testMethod)
343
// Based on the comment in `self::getTestedClassName`, it is
344
// required to re-adjust the mock engines for constants and
345
// functions.
346
- $out = parent::beforeTestMethod($testMethod);
347
$testedClassName = self::getTestedClassNameFromTestClass(
348
$this->getClass(),
349
$this->getTestNamespace()
@@ -356,8 +355,6 @@ public function beforeTestMethod($testMethod)
356
355
357
$this->getPhpFunctionMocker()->setDefaultNamespace($testedNamespace);
358
$this->getPhpConstantMocker()->setDefaultNamespace($testedNamespace);
359
-
360
- return $out;
361
}
362
363
0 commit comments