From a20f4f2904f12e6b90aac2efdc5be3472cd74375 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 27 Mar 2016 17:20:21 -0400 Subject: Improve UserHelper::getInitials() --- tests/units/Helper/UserHelperTest.php | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/units/Helper/UserHelperTest.php') 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')); } -- cgit v1.2.3