mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 07:23:13 +00:00
Update border manager tests
This commit is contained in:
@@ -48,7 +48,7 @@ class AbstractCheckerTest extends \PhraseanetPHPUnitAbstract
|
||||
public function getDataboxesCombinaison()
|
||||
{
|
||||
$databox = $collection = null;
|
||||
$app = new Application('test');
|
||||
$app = self::$application;
|
||||
$appbox = $app['phraseanet.appbox'];
|
||||
|
||||
foreach ($appbox->get_databoxes() as $db) {
|
||||
@@ -100,7 +100,7 @@ class AbstractCheckerTest extends \PhraseanetPHPUnitAbstract
|
||||
public function getCollectionsCombinaison()
|
||||
{
|
||||
$othercollection = $collection = null;
|
||||
$app = new Application('test');
|
||||
$app = self::$application;
|
||||
$appbox = $app['phraseanet.appbox'];
|
||||
|
||||
foreach ($appbox->get_databoxes() as $db) {
|
||||
@@ -171,7 +171,7 @@ class AbstractCheckerTest extends \PhraseanetPHPUnitAbstract
|
||||
public function getDataboxAndCollection()
|
||||
{
|
||||
$databox = $collection = null;
|
||||
$app = new Application('test');
|
||||
$app = self::$application;
|
||||
$appbox = $app['phraseanet.appbox'];
|
||||
|
||||
foreach ($appbox->get_databoxes() as $db) {
|
||||
|
@@ -4,9 +4,9 @@ namespace Alchemy\Phrasea\Border;
|
||||
|
||||
use Alchemy\Phrasea\Border\Attribute\AttributeInterface;
|
||||
|
||||
require_once __DIR__ . '/../../../PhraseanetPHPUnitAuthenticatedAbstract.class.inc';
|
||||
require_once __DIR__ . '/../../../PhraseanetWebTestCaseAuthenticatedAbstract.class.inc';
|
||||
|
||||
class ManagerTest extends \PhraseanetPHPUnitAuthenticatedAbstract
|
||||
class ManagerTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
{
|
||||
/**
|
||||
* @var Manager
|
||||
@@ -59,6 +59,7 @@ class ManagerTest extends \PhraseanetPHPUnitAuthenticatedAbstract
|
||||
$this->object = null;
|
||||
parent::tearDown();
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers Alchemy\Phrasea\Border\Manager::process
|
||||
* @covers Alchemy\Phrasea\Border\Manager::createLazaret
|
||||
@@ -230,6 +231,7 @@ class ManagerTest extends \PhraseanetPHPUnitAuthenticatedAbstract
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers Alchemy\Phrasea\Border\Manager::createLazaret
|
||||
*/
|
||||
@@ -348,7 +350,6 @@ class ManagerTest extends \PhraseanetPHPUnitAuthenticatedAbstract
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
/**
|
||||
* @covers Alchemy\Phrasea\Border\Manager::process
|
||||
*/
|
||||
|
Reference in New Issue
Block a user