Skip to content

Commit 0aa85ec

Browse files
committed
Remove getUsername methods in tests
1 parent b2afcb2 commit 0aa85ec

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

Tests/Authentication/AuthenticationTrustResolverTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,6 @@ public function setUser($user): void
115115
{
116116
}
117117

118-
public function getUsername(): string
119-
{
120-
}
121-
122118
public function getUserIdentifier(): string
123119
{
124120
}

Tests/Authentication/Token/Fixtures/CustomUser.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,6 @@ public function __construct(string $username, array $roles)
1717
$this->roles = $roles;
1818
}
1919

20-
public function getUsername(): string
21-
{
22-
return $this->username;
23-
}
24-
2520
public function getUserIdentifier(): string
2621
{
2722
return $this->username;

0 commit comments

Comments
 (0)