improv
This commit is contained in:
parent
66c4c1fe4f
commit
2c2e34b71e
42 changed files with 910 additions and 939 deletions
|
@ -1,4 +1,6 @@
|
|||
<?php declare(strict_types=1);
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
// tests/Feature/FeatureTestBootstrap.php
|
||||
|
||||
use Doctrine\ORM\EntityManagerInterface;
|
||||
|
@ -6,12 +8,12 @@ use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
|
|||
|
||||
uses(KernelTestCase::class)->in(__DIR__);
|
||||
|
||||
beforeEach(function () {
|
||||
beforeEach(function (): void {
|
||||
$em = self::getContainer()->get(EntityManagerInterface::class);
|
||||
createDatabaseSchema($em);
|
||||
});
|
||||
|
||||
afterEach(function () {
|
||||
afterEach(function (): void {
|
||||
$em = self::getContainer()->get(EntityManagerInterface::class);
|
||||
deleteDatabaseFile($em);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue