@@ -39,7 +39,8 @@ |
||
39 | 39 | $this->onExecute[] = [$this, "setup"]; |
40 | 40 | $this->onExecute[] = [$this, "printInfo"]; |
41 | 41 | $this->testsSuitesFinder = $testsSuitesFinder ?? new TestSuitesFinder(); |
42 | - $this->testSuiteFactory = $testSuiteFactory ?? new class implements ITestSuiteFactory { |
|
42 | + $this->testSuiteFactory = $testSuiteFactory ?? new class implements ITestSuiteFactory |
|
43 | + { |
|
43 | 44 | public function create(string $className): TestCase |
44 | 45 | { |
45 | 46 | return new $className(); |