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