Files
postfixadmin/tests/TotpPfTest.php
T
2023-12-24 19:39:47 +00:00

20 lines
343 B
PHP

<?php
use PHPUnit\Framework\TestCase;
class TotpPfTest extends TestCase
{
public function testBasic()
{
$x = new TotpPf('mailbox');
$array = $x->generate('test@example.com');
$this->assertIsArray($array);
$this->assertIsString($array[0]);
$this->assertIsString($array[1]);
}
}