mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 15:33:15 +00:00
Update api oauth account test
This commit is contained in:
@@ -34,7 +34,7 @@ class API_OAuth2_AccountTest extends PhraseanetPHPUnitAbstract
|
|||||||
public function testGet_user()
|
public function testGet_user()
|
||||||
{
|
{
|
||||||
$this->assertInstanceOf('User_Adapter', $this->object->get_user());
|
$this->assertInstanceOf('User_Adapter', $this->object->get_user());
|
||||||
$this->assertEquals(self::$DI['user'], $this->object->get_user());
|
$this->assertEquals(self::$DI['user']->get_id(), $this->object->get_user()->get_id());
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testGet_api_version()
|
public function testGet_api_version()
|
||||||
|
Reference in New Issue
Block a user