2009-03-16 20:49:19 +01:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Test for Postfixadmin - remote vacation stuff
|
|
|
|
*
|
|
|
|
* @package tests
|
|
|
|
*/
|
|
|
|
|
|
|
|
require_once('RemoteTest.php');
|
|
|
|
|
2021-03-22 10:28:28 +01:00
|
|
|
class RemoteUserTest extends RemoteTest
|
|
|
|
{
|
2021-04-13 22:19:16 +02:00
|
|
|
public function testChangePassword()
|
|
|
|
{
|
2018-12-27 14:54:41 +01:00
|
|
|
$this->assertTrue($this->user->login($this->username, $this->password));
|
|
|
|
$this->assertTrue($this->user->changePassword($this->password, 'foobar'));
|
|
|
|
$this->assertTrue($this->user->login($this->username, 'foobar'));
|
2009-03-16 20:49:19 +01:00
|
|
|
}
|
|
|
|
}
|
2009-04-15 23:54:18 +02:00
|
|
|
|
|
|
|
/* vim: set expandtab softtabstop=4 tabstop=4 shiftwidth=4: */
|