/**
  * Renders the account favorites.
  */
 public function favoriteAction()
 {
     $templatePaths = Base::getAimeos()->getCustomPaths('client/html');
     $client = \Aimeos\Client\Html\Account\Favorite\Factory::createClient($this->getContext(), $templatePaths);
     return $this->getClientOutput($client);
 }
示例#2
0
 public function testCreateClientNameNotFound()
 {
     $this->setExpectedException('\\Aimeos\\Client\\Html\\Exception');
     \Aimeos\Client\Html\Account\Favorite\Factory::createClient($this->context, $this->templatePaths, 'notfound');
 }