0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-19 11:12:15 +02:00
postfixadmin/tests/TotpPfTest.php
David Goodwin 2ee4b3832e formatting
2023-12-24 19:40:49 +00:00

18 lines
333 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]);
}
}