0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-19 19:22:14 +02:00
postfixadmin/tests/TotpPfTest.php

18 lines
333 B
PHP
Raw Normal View History

2023-12-24 20:39:47 +01:00
<?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]);
}
}