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

  1. <?php
  2. class AdminHandlerTest extends \PHPUnit\Framework\TestCase
  3. {
  4. public function setUp() : void
  5. {
  6. parent::setUp();
  7. db_execute('DELETE FROM admin');
  8. }
  9. public function testBasic()
  10. {
  11. $x = new AdminHandler();
  12. $list = $x->getList("");
  13. $this->assertTrue($list);
  14. $results = $x->result();
  15. $this->assertEmpty($results);
  16. }
  17. }
  18. /* vim: set expandtab softtabstop=4 tabstop=4 shiftwidth=4: */