0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-20 03:36:20 +02:00
postfixadmin/tests/CheckOwnerTest.php
2019-01-06 21:32:58 +00:00

13 lines
382 B
PHP

<?php
require_once('common.php');
class CheckOwnerTest extends \PHPUnit\Framework\TestCase {
public function testBasic() {
$check = check_owner('random@example.com', 'test.com');
$this->assertFalse($check, "there should be no entries in test.com as it's an invalid/non-existant domain");
}
}
/* vim: set expandtab softtabstop=4 tabstop=4 shiftwidth=4: */