8000 minor #41543 [SecurityBundle] Fix call to deprecated getUsername() in… · symfony/symfony@0d65a49 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0d65a49

Browse files
committed
minor #41543 [SecurityBundle] Fix call to deprecated getUsername() in tests (chalasr)
This PR was merged into the 5.3 branch. Discussion ---------- [SecurityBundle] Fix call to deprecated getUsername() in tests | Q | A | ------------- | --- | Branch? | 5.3 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - Commits ------- 74e0b31 Fix call to deprecated getUsername() in tests
2 par
8000
ents a02ac15 + 74e0b31 commit 0d65a49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/SecurityBundle/Tests/Functional/Bundle/AuthenticatorBundle/SecurityController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ public function checkAction()
2323

2424
public function profileAction()
2525
{
26-
return new Response('Welcome '.$this->getUser()->getUsername().'!');
26+
return new Response('Welcome '.$this->getUser()->getUserIdentifier().'!');
2727
}
2828
}

0 commit comments

Comments
 (0)
0