Skip to content

Commit ed4aed2

Browse files
committed
Fix call to deprecated getUsername() in tests
1 parent 3a9334f commit ed4aed2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)