protected function postFixtureLoad() { $channel = $this->getReference('default_channel'); if (!$channel) { $this->markTestIncomplete('Invalid fixtures, unable to perform test case'); } self::$channelId = $channel->getId(); }
protected function postFixtureLoad() { $channel = $this->em->getRepository('OroIntegrationBundle:Channel')->findAll(); $channel = reset($channel); if (!$channel) { $this->markTestIncomplete('Invalid fixtures, unable to perform test case'); } self::$channelId = $channel->getId(); }