Esempio n. 1
0
 public function testStorageOfAuthAttemptShouldNotError()
 {
     $request = RequestWrapper::$request;
     $attempt_info = ['username' => 'james', 'user_agent' => 'phpunit cli', 'ip' => $request->getClientIp(), 'successful' => 0, 'additional_info' => []];
     LoginController::store_auth_attempt($attempt_info);
     $this->assertTrue(true);
     // Just check that no error occurs before this point
 }