mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-11 20:13:28 +00:00
fix schema
This commit is contained in:
@@ -802,18 +802,7 @@ abstract class PhraseanetPHPUnitAbstract extends WebTestCase
|
|||||||
|
|
||||||
//create schema
|
//create schema
|
||||||
$this->schematTool = new \Doctrine\ORM\Tools\SchemaTool($em);
|
$this->schematTool = new \Doctrine\ORM\Tools\SchemaTool($em);
|
||||||
$this->classesMetatdas = array(
|
$this->classesMetatdas = $em->getMetadataFactory()->getAllMetadata();
|
||||||
$em->getClassMetadata('Entities\Basket')
|
|
||||||
, $em->getClassMetadata('Entities\BasketElement')
|
|
||||||
, $em->getClassMetadata('Entities\StoryWZ')
|
|
||||||
, $em->getClassMetadata('Entities\ValidationData')
|
|
||||||
, $em->getClassMetadata('Entities\ValidationParticipant')
|
|
||||||
, $em->getClassMetadata('Entities\ValidationSession')
|
|
||||||
, $em->getClassMetadata('Entities\UsrList')
|
|
||||||
, $em->getClassMetadata('Entities\UsrListContent')
|
|
||||||
, $em->getClassMetadata('Entities\UsrListOwner')
|
|
||||||
);
|
|
||||||
|
|
||||||
$this->schematTool->createSchema($this->classesMetatdas);
|
$this->schematTool->createSchema($this->classesMetatdas);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user