Creation of second colleciton on the fly

This commit is contained in:
Romain Neutron
2012-01-18 18:46:06 +01:00
parent ff0897ccce
commit 69676c6654

View File

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