Fixes --filter

This commit is contained in:
Nuno Maduro
2022-09-15 23:55:54 +01:00
parent d8f3e9c313
commit 579b975318
4 changed files with 183 additions and 2 deletions

View File

@ -68,7 +68,9 @@ trait Testable
$test = TestSuite::getInstance()->tests->get(self::$__filename);
if ($test->hasMethod($name)) {
$this->__test = $test->getMethod($name)->getClosure($this);
$method = $test->getMethod($name);
self::$__description = $method->description;
$this->__test = $method->getClosure($this);
}
}