PostfixAdmin - web based virtual user administration interface for Postfix mail servers https://postfixadmin.github.io/postfixadmin/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
513 B

  1. <?php
  2. /**
  3. * Test for Postfixadmin - remote vacation stuff
  4. *
  5. * @package tests
  6. */
  7. require_once('RemoteTest.php');
  8. class RemoteUserTest extends RemoteTest {
  9. public function testChangePassword() {
  10. $this->assertTrue($this->user->login($this->username, $this->password));
  11. $this->assertTrue($this->user->changePassword($this->password, 'foobar'));
  12. $this->assertTrue($this->user->login($this->username, 'foobar'));
  13. }
  14. }
  15. /* vim: set expandtab softtabstop=4 tabstop=4 shiftwidth=4: */