mirror of
https://github.com/pestphp/pest.git
synced 2026-03-10 17:57:23 +01:00
Fixes --filter
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user