From 679a22c718e8cb2d3ae6d981e1745bad948e1b92 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Mon, 30 May 2016 21:01:41 -0400 Subject: Added some unit tests for avatar letter with UTF-8 --- 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 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() -- cgit v1.2.3