Move dependency mapping to TestCase

The `TestCaseFactory::getClassName` was removed since it can have
unexpected results when called too early, as it builds up the test class
prematurely. It is not currently used anywhere else.
This commit is contained in:
avrahamappel
2020-12-17 23:24:11 -05:00
parent f75a3ee865
commit b6e2763731
3 changed files with 20 additions and 20 deletions

View File

@ -156,14 +156,6 @@ final class TestCaseFactory
return array_map($createTest, array_keys($datasets), $datasets);
}
/**
* Makes a fully qualified class name from the current filename.
*/
public function getClassName(): string
{
return $this->makeClassFromFilename($this->filename);
}
/**
* Makes a fully qualified class name from the given filename.
*/