chore: makes tests pass

This commit is contained in:
Nuno Maduro
2024-01-08 13:16:53 +00:00
parent 53dc9ffa06
commit bf573b3cac
12 changed files with 21 additions and 45 deletions

View File

@ -435,8 +435,8 @@ final class TestCall
$this->testSuite->tests->set($this->testCaseMethod);
foreach ($this->testCaseFactoryAttributes as $attribute) {
$this->testSuite->tests->get($this->filename)->attributes[] = $attribute;
if (! is_null($testCase = $this->testSuite->tests->get($this->filename))) {
$testCase->attributes = array_merge($testCase->attributes, $this->testCaseFactoryAttributes);
}
}
}