protected function postFixtureLoad()
 {
     $channel = $this->getReference('default_channel');
     if (!$channel) {
         $this->markTestIncomplete('Invalid fixtures, unable to perform test case');
     }
     self::$channelId = $channel->getId();
 }
Example #2
0
 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();
 }