protected function setUp() { parent::setUp(); $this->dirWithFixtures = '../data/' . self::DIR_WITH_FIXTURES; $this->fullPathToDirWithFixtures = static::getContainer()->getParameter('kernel.root_dir') . '/' . $this->dirWithFixtures; EntityHelper::buildDBSchema($this->em); }
protected function setUp() { parent::setUp(); $this->targetDir = '../data/' . self::TARGET_DIR_NAME; $this->fullDirPath = static::getContainer()->getParameter('kernel.root_dir') . '/' . $this->targetDir; EntityHelper::buildDBSchema($this->em); (new FixturesLoader())->withManager($this->em)->fromDir(__DIR__ . '/../data/alice_fixtures_for_loading')->load(); }