Example #1
0
 /**
  * testLoginWithWrongUsernameAndPassword
  */
 public function testLoginWithWrongUsernameAndPassword()
 {
     $result = $this->_json->login('unknown_user_xxyz', 'wrong_password');
     $this->assertTrue(is_array($result));
     $this->assertFalse($result['success']);
     $this->assertTrue(isset($result['errorMessage']));
 }
 /**
  * testLoginWithWrongUsernameAndPassword
  */
 public function testLoginWithWrongUsernameAndPassword()
 {
     $this->markTestSkipped('FIXME 0010994: fix broken setup test Setup_JsonTest::testLoginWithWrongUsernameAndPassword');
     $result = $this->_json->login('unknown_user_xxyz', 'wrong_password');
     $this->assertTrue(is_array($result));
     $this->assertFalse($result['success']);
     $this->assertTrue(isset($result['errorMessage']));
 }
 /**
  * testLoginWithWrongUsernameAndPassword
  *
  */
 public function testLoginWithWrongUsernameAndPassword()
 {
     $result = $this->_uit->login('unknown_user_xxyz', 'wrong_password');
     $this->assertFalse($result);
 }