public function action($method, $action, $wildcards = [], $parameters = [], $cookies = [], $files = [], $server = [], $content = null) { if ($this->isShopTestCase()) { return parent::action($method, $action, (array) $wildcards + ['currentShop' => $this->getShop()->id], $parameters, $cookies, $files, $server, $content); } return parent::action($method, $action, $wildcards, $parameters, $cookies, $files, $server, $content); }
public function setUp() { parent::setUp(); if ($this->viaMail) { $this->setUpMailCatcher(); } }