summaryrefslogtreecommitdiff
path: root/tests/units/UserHelperTest.php
blob: 9129edd9c67184209f049c51c5b2be40a7e9304b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php

require_once __DIR__.'/Base.php';

use Helper\User;

class UserHelperTest extends Base
{
    public function testInitials()
    {
        $h = new User($this->container);

        $this->assertEquals('CN', $h->getInitials('chuck norris'));
        $this->assertEquals('A', $h->getInitials('admin'));
    }
}