Skip to content

Commit 4e5ab2c

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

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

tests/FunctionalTests/Command/ResetPasswordRemoveExpiredCommandTest.php

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
use Symfony\Component\Console\Application;
1717
use Symfony\Component\Console\CommandLoader\CommandLoaderInterface;
1818
use Symfony\Component\Console\Tester\CommandTester;
19-
use SymfonyCasts\Bundle\ResetPassword\Tests\Fixtures\AbstractResetPasswordTestKernel;
2019
use SymfonyCasts\Bundle\ResetPassword\Tests\Fixtures\Entity\ResetPasswordTestFixtureRequest;
20+
use SymfonyCasts\Bundle\ResetPassword\Tests\ResetPasswordTestKernel;
2121

2222
/**
2323
* @author Jesse Rushlow <[email protected]>
@@ -39,7 +39,7 @@ final class ResetPasswordRemoveExpiredCommandTest extends TestCase
3939

4040
protected function setUp(): void
4141
{
42-
$kernel = new CommandKernel();
42+
$kernel = new ResetPasswordTestKernel();
4343
$kernel->boot();
4444

4545
$container = $kernel->getContainer();
@@ -101,7 +101,3 @@ private function configureDatabase(): void
101101
$tool->createSchema($metaData->getAllMetadata());
102102
}
103103
}
104-
105-
class CommandKernel extends AbstractResetPasswordTestKernel
106-
{
107-
}

0 commit comments

Comments
 (0)