Refactor Appbox

This commit is contained in:
Romain Neutron
2012-02-21 16:19:38 +01:00
parent 7d41a36694
commit dc51dd295d
20 changed files with 57 additions and 57 deletions

View File

@@ -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);