Skip to content

Commit e4b29b3

Browse files
committed
replace embedded abstract kernel with reset password test kernel
1 parent 4e5ab2c commit e4b29b3

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

tests/FunctionalTests/Persistence/ResetPasswordRequestRepositoryTest.php

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
use Doctrine\ORM\Tools\SchemaTool;
1414
use Doctrine\Persistence\ObjectManager;
1515
use PHPUnit\Framework\TestCase;
16-
use SymfonyCasts\Bundle\ResetPassword\Tests\Fixtures\AbstractResetPasswordTestKernel;
1716
use SymfonyCasts\Bundle\ResetPassword\Tests\Fixtures\Entity\ResetPasswordTestFixtureRequest;
1817
use SymfonyCasts\Bundle\ResetPassword\Tests\Fixtures\Entity\ResetPasswordTestFixtureUser;
1918
use SymfonyCasts\Bundle\ResetPassword\Tests\Fixtures\ResetPasswordTestFixtureRequestRepository;
19+
use SymfonyCasts\Bundle\ResetPassword\Tests\ResetPasswordTestKernel;
2020

2121
/**
2222
* @author Jesse Rushlow <[email protected]>
@@ -41,7 +41,7 @@ final class ResetPasswordRequestRepositoryTest extends TestCase
4141
*/
4242
protected function setUp(): void
4343
{
44-
$kernel = new ResetPasswordFunctionalKernel();
44+
$kernel = new ResetPasswordTestKernel();
4545
$kernel->boot();
4646

4747
$container = $kernel->getContainer();
@@ -220,7 +220,3 @@ private function configureDatabase(): void
220220
$tool->createSchema($metaData->getAllMetadata());
221221
}
222222
}
223-
224-
class ResetPasswordFunctionalKernel extends AbstractResetPasswordTestKernel
225-
{
226-
}

0 commit comments

Comments
 (0)