blob: 2422d73c8d17811d54b8c0f7f5e4bb851d885a83 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
<?php
require_once __DIR__.'/../Base.php';
use Kanboard\Core\Tool;
class ToolTest extends Base
{
public function testMailboxHash()
{
$this->assertEquals('test1', Tool::getMailboxHash('a+test1@localhost'));
$this->assertEquals('', Tool::getMailboxHash('test1@localhost'));
$this->assertEquals('', Tool::getMailboxHash('test1'));
}
}
|