@@ -89,33 +89,6 @@ public function getTestDetails()
89
89
]);
90
90
91
91
$ this ->assertStringContainsString ('Success ' , $ output );
92
-
93
- $ generatedFiles = [
94
- 'src/Controller/ResetPasswordController.php ' ,
95
- 'src/Entity/ResetPasswordRequest.php ' ,
96
- 'src/Form/ChangePasswordFormType.php ' ,
97
- 'src/Form/ResetPasswordRequestFormType.php ' ,
98
- 'src/Repository/ResetPasswordRequestRepository.php ' ,
99
- 'templates/reset_password/check_email.html.twig ' ,
100
- 'templates/reset_password/email.html.twig ' ,
101
- 'templates/reset_password/request.html.twig ' ,
102
- 'templates/reset_password/reset.html.twig ' ,
103
- ];
104
-
105
- foreach ($ generatedFiles as $ file ) {
106
- $ this ->assertFileExists ($ runner ->getPath ($ file ));
107
- }
108
-
109
- $ configFileContents = file_get_contents ($ runner ->getPath ('config/packages/reset_password.yaml ' ));
110
-
111
- // Flex recipe adds comments in reset_password.yaml, check file was replaced by maker
112
- $ this ->assertStringNotContainsString ('# ' , $ configFileContents );
113
-
114
- $ resetPasswordConfig = $ runner ->readYaml ('config/packages/reset_password.yaml ' );
115
-
116
- $ this ->assertSame ('App\Repository\ResetPasswordRequestRepository ' , $ resetPasswordConfig ['symfonycasts_reset_password ' ]['request_password_repository ' ]);
117
-
118
- $ this ->runResetPasswordTest ($ runner , 'it_generates_with_normal_setup.php ' );
119
92
}),
120
93
];
121
94
0 commit comments