Exemplo n.º 1
0
 public function run()
 {
     //this part is to test Admin cookies only - start.
     $params = ['uuid' => 'fake_uuid', 'username' => '*****@*****.**', 'password' => 'fake password', 'name' => 'fake name', 'created' => ''];
     $adminUserDto = new AdminUserDto($params);
     $this->sessionHandler->setAdminUserCookie($adminUserDto);
     //this part is to test Admin cookies only - end.
     $this->pipeFilter->run();
     $controller = $this->request->controller;
     $controllerMethod = strtolower($this->request->request_method());
     $controller->{$controllerMethod}();
     echo "<br><br>" . __METHOD__;
 }