Esempio n. 1
0
 public function testSearchById()
 {
     $content = ContentQuery::create()->findOne();
     if (null === $content) {
         $content = new \Thelia\Model\Content();
         $content->setVisible(1);
         $content->setTitle('foo');
         $content->save();
     }
     $otherParameters = array("visible" => "*");
     $this->baseTestSearchById($content->getId(), $otherParameters);
 }