Example #1
0
 /**
  * @covers Paradox\Client::changePassword
  */
 public function testChangePassword()
 {
     $result = $this->client->createUser('testuser', 'password', true, array('name' => 'david'));
     $user = $this->client->changePassword('testuser', 'password2');
     //TODO: There isn't a way to assert the password has been changed (https://github.com/triAGENS/ArangoDB/issues/498)
     //Add assertions when it is possible
     //Delete the user
     $this->client->deleteUser('testuser');
 }