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

13 lines
357 B
PHP
Raw Normal View History

<?php
2021-03-22 10:28:28 +01:00
class CheckOwnerTest extends \PHPUnit\Framework\TestCase
{
2021-04-13 22:19:16 +02:00
public function testBasic()
{
$check = check_owner('random@example.com', 'test.com');
2019-01-06 21:25:24 +01:00
$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: */