File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
tests/fixtures/make-reset-password/tests Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -122,8 +122,6 @@ public function configureDependencies(DependencyBuilder $dependencies): void
122
122
123
123
ORMDependencyBuilder::buildDependencies ($ dependencies );
124
124
125
- $ dependencies ->addClassDependency (Annotation::class, 'annotations ' );
126
-
127
125
// reset-password-bundle 1.6 includes the ability to generate a fake token.
128
126
// we need to check that version 1.6 is installed
129
127
if (class_exists (ResetPasswordHelper::class) && !method_exists (ResetPasswordHelper::class, 'generateFakeResetToken ' )) {
Original file line number Diff line number Diff line change 6
6
7
7
class ResetPasswordFunctionalTest extends WebTestCase
8
8
{
9
- public function testResetRequestRoute ()
9
+ public function testResetRequestRoute (): void
10
10
{
11
11
$ client = static ::createClient ();
12
12
$ client ->request ('GET ' , '/reset-password ' );
13
13
14
14
self ::assertSame (200 , $ client ->getResponse ()->getStatusCode ());
15
15
}
16
16
17
- public function testResetRequestRouteDeniesInvalidToken ()
17
+ public function testResetRequestRouteDeniesInvalidToken (): void
18
18
{
19
19
$ client = static ::createClient ();
20
20
$ client ->request ('GET ' , '/reset-password/reset/badToken1234 ' );
21
21
22
22
self ::assertSame (302 , $ client ->getResponse ()->getStatusCode ());
23
23
}
24
24
25
- public function testCheckEmailPageIsAlwaysAccessible ()
25
+ public function testCheckEmailPageIsAlwaysAccessible (): void
26
26
{
27
27
$ client = static ::createClient ();
28
28
$ client ->request ('GET ' , '/reset-password/check-email ' );
You can’t perform that action at this time.
0 commit comments