mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-13 04:53:26 +00:00
Refactor Appbox
This commit is contained in:
@@ -16,7 +16,7 @@ class API_OAuth2_RefreshTokenTest extends PhraseanetPHPUnitAbstract
|
||||
|
||||
public function setUp()
|
||||
{
|
||||
$appbox = appbox::get_instance();
|
||||
$appbox = appbox::get_instance(\bootstrap::getCore());
|
||||
$this->application = API_OAuth2_Application::create($appbox, self::$user, 'test app');
|
||||
$this->account = API_OAuth2_Account::load_with_user($appbox, $this->application, self::$user);
|
||||
|
||||
|
Reference in New Issue
Block a user