/** * Return data needed to start application. * Derived class can redefine this method. * It's possible to detect current test using the $this->name variable * * @return array * @access protected * @see ____func_see____ * @since 1.0.0 */ protected function getRequest() { $request = parent::getRequest(); // Except some ones, all methods are emulate the customer area $request['controller'] = 'testSearchDisabledItems' === $this->getName(); return $request; }
/** * Return data needed to start application. * Derived class can redefine this method. * It's possible to detect current test using the $this->name variable * * @return array * @see ____func_see____ * @since 1.0.0 */ protected function getRequest() { $request = parent::getRequest(); $request['controller'] = false; return $request; }