0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-19 19:22:14 +02:00
postfixadmin/tests/RemoteUserTest.php

21 lines
517 B
PHP
Raw Normal View History

<?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()
{
$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'));
}
}
/* vim: set expandtab softtabstop=4 tabstop=4 shiftwidth=4: */