nochmal nue
This commit is contained in:
parent
2c2e34b71e
commit
6f07d70436
27 changed files with 311 additions and 1988 deletions
|
@ -11,6 +11,16 @@ use Doctrine\ORM\Tools\SchemaTool;
|
|||
|
||||
abstract class DbTestCase extends TestCase
|
||||
{
|
||||
/**
|
||||
* @template T of object
|
||||
* @param class-string<T> $id
|
||||
* @return object<T>
|
||||
*/
|
||||
protected function get(string $id): object
|
||||
{
|
||||
return $this->getContainer()->get($id);
|
||||
}
|
||||
|
||||
protected function setUp(): void
|
||||
{
|
||||
$em = $this->getContainer()->get(EntityManagerInterface::class);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue