mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-14 13:33:14 +00:00
Creation of second colleciton on the fly
This commit is contained in:
@@ -1001,7 +1001,8 @@ abstract class PhraseanetPHPUnitAbstract extends WebTestCase
|
|||||||
}
|
}
|
||||||
if (!$collection_no_acces instanceof collection)
|
if (!$collection_no_acces instanceof collection)
|
||||||
{
|
{
|
||||||
self::fail('Unable to find a second collection');
|
$collection_no_acces = collection::create($databox, $appbox, 'BIBOO', self::$user);
|
||||||
|
// self::fail('Unable to find a second collection');
|
||||||
}
|
}
|
||||||
|
|
||||||
self::$collection = $coll;
|
self::$collection = $coll;
|
||||||
|
Reference in New Issue
Block a user