summaryrefslogtreecommitdiff
path: root/tests/units
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-03-27 17:20:21 -0400
committerFrederic Guillot <fred@kanboard.net>2016-03-27 17:20:21 -0400
commita20f4f2904f12e6b90aac2efdc5be3472cd74375 (patch)
tree80c574b6a1f11be29cf1fc5d396f82f873fb3988 /tests/units
parentab082bdb2b675ab4bd13f7b3238143f99f267f68 (diff)
Improve UserHelper::getInitials()
Diffstat (limited to 'tests/units')
-rw-r--r--tests/units/Helper/UserHelperTest.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/units/Helper/UserHelperTest.php b/tests/units/Helper/UserHelperTest.php
index 7ee6e8bb..9a9832b2 100644
--- a/tests/units/Helper/UserHelperTest.php
+++ b/tests/units/Helper/UserHelperTest.php
@@ -15,6 +15,7 @@ class UserHelperTest extends Base
$helper = new UserHelper($this->container);
$this->assertEquals('CN', $helper->getInitials('chuck norris'));
+ $this->assertEquals('CN', $helper->getInitials('chuck norris #2'));
$this->assertEquals('A', $helper->getInitials('admin'));
}