mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2026-11-20 23:43:26 +03:00
23 lines
459 B
PHP
23 lines
459 B
PHP
<?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: */
|