You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
postfixadmin/tests/GeneratePasswordTest.php

22 lines
342 B
PHTML

7 years ago
<?php
require_once('common.php');
class GeneratePasswordTest extends PHPUnit_Framework_TestCase
{
public function testBasic()
{
$one = generate_password();
$two = generate_password();
$this->assertNotEquals($one, $two);
$this->assertNotEmpty($one);
$this->assertNotEmpty($two);
}
}