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.
25 lines
467 B
25 lines
467 B
<?php
|
|
|
|
class AdminHandlerTest extends \PHPUnit\Framework\TestCase
|
|
{
|
|
public function setUp() : void
|
|
{
|
|
parent::setUp();
|
|
|
|
db_execute('DELETE FROM admin');
|
|
}
|
|
public function testBasic()
|
|
{
|
|
$x = new AdminHandler();
|
|
|
|
$list = $x->getList("");
|
|
|
|
$this->assertTrue($list);
|
|
|
|
$results = $x->result();
|
|
|
|
$this->assertEmpty($results);
|
|
}
|
|
}
|
|
|
|
/* vim: set expandtab softtabstop=4 tabstop=4 shiftwidth=4: */
|