getRequest()->setPostValue( ['email' => 'dummy@dummy.com', 'captcha' => ['backend_forgotpassword' => 'dummy']] ); $this->dispatch('backend/admin/auth/forgotpassword'); $this->assertRedirect($this->stringContains('backend/admin/auth/forgotpassword')); } }