We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 83714b5 + 9c11b4d commit 699f979Copy full SHA for 699f979
Tests/Security/User/EntityUserProviderTest.php
@@ -21,6 +21,7 @@
21
use Symfony\Bridge\Doctrine\Test\DoctrineTestHelper;
22
use Symfony\Bridge\Doctrine\Tests\Fixtures\User;
23
use Symfony\Component\Security\Core\User\PasswordUpgraderInterface;
24
+use Symfony\Component\Security\Core\User\UserInterface;
25
26
class EntityUserProviderTest extends TestCase
27
{
@@ -154,7 +155,7 @@ public function testLoadUserByUserNameShouldLoadUserWhenProperInterfaceProvided(
154
155
->method('loadUserByUsername')
156
->with('name')
157
->willReturn(
- $this->getMockBuilder('\Symfony\Component\Security\Core\User\UserInterface')->getMock()
158
+ $this->getMockBuilder(UserInterface::class)->getMock()
159
);
160
161
$provider = new EntityUserProvider(
0 commit comments