mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-05-31 14:12:07 +05:30
Fix broken tests
This commit is contained in:
@@ -2,12 +2,15 @@
|
||||
|
||||
namespace LeagueTests\Stubs;
|
||||
|
||||
use League\OAuth2\Server\Entities\Traits\EntityTrait;
|
||||
use League\OAuth2\Server\Entities\UserEntityInterface;
|
||||
|
||||
class UserEntity implements UserEntityInterface
|
||||
{
|
||||
public function getIdentifier()
|
||||
use EntityTrait;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
return 123;
|
||||
$this->setIdentifier(123);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user