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