Skip to content

Commit 02f0f66

Browse files
committed
minor #51500 Remove getUsername methods in tests (alamirault)
This PR was merged into the 7.0 branch. Discussion ---------- Remove `getUsername` methods in tests | Q | A | ------------- | --- | Branch? | 7.0 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | N/A | License | MIT | Doc PR | N/A This is allowed thanks to bumps to `^6.4|^7.0` in composer.json on 7.0 branch Commits ------- 85cafd35ac Remove getUsername methods in tests
2 parents 2f47e55 + 6ecdaeb commit 02f0f66

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

Tests/Fixtures/TestLegacyPasswordAuthenticatedUser.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,6 @@ public function eraseCredentials(): void
4141
return;
4242
}
4343

44-
public function getUsername(): string
45-
{
46-
return $this->username;
47-
}
48-
4944
public function getUserIdentifier(): string
5045
{
5146
return $this->username;

Tests/Hasher/PasswordHasherFactoryTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -199,10 +199,6 @@ public function getSalt(): ?string
199199
{
200200
}
201201

202-
public function getUsername(): string
203-
{
204-
}
205-
206202
public function getUserIdentifier(): string
207203
{
208204
}

0 commit comments

Comments
 (0)