From c4ba9ef2d295f85897557ce1f841a8bb368ed5ee Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Thu, 21 Mar 2013 06:39:11 +0100 Subject: add (broken) tests for Services_Tag::normalize and Bookmark2Tag::attachTags with some empty tags --- tests/TagTest.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tests/TagTest.php') diff --git a/tests/TagTest.php b/tests/TagTest.php index 96f3f14..bda5a29 100644 --- a/tests/TagTest.php +++ b/tests/TagTest.php @@ -87,5 +87,13 @@ class TagTest extends TestBase } + public function testNormalizeEmptyValues() + { + $tags = $this->ts->normalize( + array('foo', '', 'bar', 'baz') + ); + $this->assertEquals(array('foo', 'bar', 'baz'), $tags); + } + } ?> -- cgit v1.2.3