You've already forked postfixadmin
mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2025-11-26 11:23:04 +03:00
22 lines
342 B
PHP
22 lines
342 B
PHP
<?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);
|
|
|
|
|
|
}
|
|
}
|