File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55use Illuminate \Support \Facades \Notification ;
66use Illuminate \Support \Facades \Password ;
77use PHPUnit \Framework \Attributes \Test ;
8- use Statamic \Auth \Passwords \PasswordReset ;
98use Statamic \Facades \User ;
109use Tests \PreventSavingStacheItemsToDisk ;
1110use Tests \TestCase ;
@@ -14,24 +13,6 @@ class CpForgotPasswordTest extends TestCase
1413{
1514 use PreventSavingStacheItemsToDisk;
1615
17- public function setUp (): void
18- {
19- parent ::setUp ();
20-
21- PasswordReset::resetFormUrl (null );
22- PasswordReset::resetFormRoute (null );
23- PasswordReset::redirectAfterReset (null );
24- }
25-
26- public function tearDown (): void
27- {
28- PasswordReset::resetFormUrl (null );
29- PasswordReset::resetFormRoute (null );
30- PasswordReset::redirectAfterReset (null );
31-
32- parent ::tearDown ();
33- }
34-
3516 #[Test]
3617 public function it_returns_generic_success_for_non_existent_user_to_prevent_enumeration ()
3718 {
You can’t perform that action at this time.
0 commit comments