fix: description when before each fails

This commit is contained in:
Nuno Maduro
2023-03-14 13:06:42 +00:00
parent 57cd294f0f
commit 4b1cad2493
4 changed files with 13 additions and 5 deletions

View File

@ -174,8 +174,6 @@ trait Testable
*/
protected function setUp(): void
{
$this->__description = self::$__latestDescription = $this->name();
TestSuite::getInstance()->test = $this;
parent::setUp();