From c231b65cfc54aad8b143a76e19c6aea428f42a5c Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 4 Jul 2015 20:12:17 -0400 Subject: Display user initials when tasks are in collapsed mode --- tests/units/UserHelperTest.php | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 tests/units/UserHelperTest.php (limited to 'tests/units') diff --git a/tests/units/UserHelperTest.php b/tests/units/UserHelperTest.php new file mode 100644 index 00000000..749380c6 --- /dev/null +++ b/tests/units/UserHelperTest.php @@ -0,0 +1,17 @@ +container); + + $this->assertEquals('CN', $h->getInitials('chuck norris')); + $this->assertEquals('A', $h->getInitials('admin')); + $this->assertEquals('漢', $h->getInitials('漢字')); + } +} -- cgit v1.2.3