Esempio n. 1
0
 /**
  * Test insert method.
  *
  * @dataProvider insertDataProvider
  *
  * @param mixed $user
  * @param mixed $password
  * @param bool  $hasError
  */
 public function testInsert($user, $password, $hasError)
 {
     $data = compact('user', 'password');
     $response = $this->admin->insert($data);
     $this->checkError($response, $hasError);
 }