Skip to content

Commit 3a7bfdc

Browse files
committed
check reset password config is updated by maker
1 parent 5facd26 commit 3a7bfdc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/Maker/MakeResetPasswordTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ function (string $output, string $directory) {
5252
foreach ($generatedFiles as $file) {
5353
$this->assertTrue($fs->exists(sprintf('%s/%s', $directory, $file)));
5454
}
55+
56+
$resetPasswordConfig = Yaml::parse(file_get_contents(sprintf('%s/config/packages/reset_password.yaml', $directory)));
57+
$this->assertSame('App\Repository\ResetPasswordRequestRepository', $resetPasswordConfig['symfonycasts_reset_password']['request_password_repository']);
5558
}
5659
)
5760
];

0 commit comments

Comments
 (0)