File: CheckOwnerTest.php

package info (click to toggle)
postfixadmin 4.0.1%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,888 kB
  • sloc: php: 12,256; perl: 1,156; sh: 717; python: 142; xml: 63; sql: 3; makefile: 2
file content (12 lines) | stat: -rw-r--r-- 357 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
<?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: */