summaryrefslogtreecommitdiff
path: root/tests/units/Helper/UserHelperTest.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-05-30 21:01:41 -0400
committerFrederic Guillot <fred@kanboard.net>2016-05-30 21:01:41 -0400
commit679a22c718e8cb2d3ae6d981e1745bad948e1b92 (patch)
treee2b674aa555eae0941ff1b1a3db2a974c3f889d8 /tests/units/Helper/UserHelperTest.php
parent02cf50de80a952a4a41e29b45947ac794a8d6bb9 (diff)
Added some unit tests for avatar letter with UTF-8
Diffstat (limited to 'tests/units/Helper/UserHelperTest.php')
-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 c149e663..10bbc58e 100644
--- a/tests/units/Helper/UserHelperTest.php
+++ b/tests/units/Helper/UserHelperTest.php
@@ -20,6 +20,7 @@ class UserHelperTest extends Base
$this->assertEquals('CN', $helper->getInitials('chuck norris'));
$this->assertEquals('CN', $helper->getInitials('chuck norris #2'));
$this->assertEquals('A', $helper->getInitials('admin'));
+ $this->assertEquals('Ü君', $helper->getInitials('Ü 君が代'));
}
public function testGetRoleName()