summaryrefslogtreecommitdiff
path: root/tests/units/Helper/UserHelperTest.php
blob: 947f606a57df5d17d13cac7d8b89d88f0c5abc1f (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'));
    }
}