Files
kimai2/tests/Security/TestUserEntity.php
Kevin Papst 7f20cb045c Refactor authentication system (#2602)
Make auth configuration available via UI, remove FOSUserBundle and SAML-Bundle dependency
2021-06-10 15:34:13 +02:00

40 lines
651 B
PHP

<?php
/*
* This file is part of the Kimai time-tracking app.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace App\Tests\Security;
use Symfony\Component\Security\Core\User\UserInterface;
class TestUserEntity implements UserInterface
{
public function getRoles()
{
return [];
}
public function getPassword()
{
return null;
}
public function getSalt()
{
return null;
}
public function getUsername()
{
return 'foo';
}
public function eraseCredentials()
{
}
}