summaryrefslogtreecommitdiff
path: root/tests/units/TextHelperTest.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-06-15 20:30:30 -0400
committerFrederic Guillot <fred@kanboard.net>2015-06-15 20:30:30 -0400
commit57dd45839b3ed61fc38b15621b688b088f57b04f (patch)
tree17f8c2f627d4900e359817a75a14ec92de777b5c /tests/units/TextHelperTest.php
parent100330c989873d535785fdb1586d3602b1def202 (diff)
Use css to truncate the page title
Diffstat (limited to 'tests/units/TextHelperTest.php')
-rw-r--r--tests/units/TextHelperTest.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/units/TextHelperTest.php b/tests/units/TextHelperTest.php
index 20b89fa8..01652d5c 100644
--- a/tests/units/TextHelperTest.php
+++ b/tests/units/TextHelperTest.php
@@ -45,6 +45,8 @@ class TextHelperTest extends Base
$this->assertEquals('abc', $h->truncate('abc'));
$this->assertEquals(str_repeat('a', 85).' [...]', $h->truncate(str_repeat('a', 200)));
+
+ $this->assertEquals('Настольная рекл [...]', $h->truncate('Настольная реклама в фудкорте ГЧ', 15));
}
public function testContains()