mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
Refactor Appbox
This commit is contained in:
@@ -44,7 +44,7 @@ class ControllerFieldsTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
*/
|
||||
public function testCheckMulti()
|
||||
{
|
||||
$appbox = \appbox::get_instance();
|
||||
$appbox = \appbox::get_instance(\bootstrap::getCore());
|
||||
$databox = array_shift($appbox->get_databoxes());
|
||||
|
||||
$field = \databox_field::create($databox, "test" . time());
|
||||
@@ -64,7 +64,7 @@ class ControllerFieldsTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
|
||||
public function testCheckReadOnly()
|
||||
{
|
||||
$appbox = \appbox::get_instance();
|
||||
$appbox = \appbox::get_instance(\bootstrap::getCore());
|
||||
$databox = array_shift($appbox->get_databoxes());
|
||||
|
||||
$field = \databox_field::create($databox, "test" . time());
|
||||
|
Reference in New Issue
Block a user