diff options
author | Christian Weiske <cweiske@cweiske.de> | 2013-03-21 06:39:11 +0100 |
---|---|---|
committer | Christian Weiske <cweiske@cweiske.de> | 2013-03-21 06:39:11 +0100 |
commit | c4ba9ef2d295f85897557ce1f841a8bb368ed5ee (patch) | |
tree | ce20e56b767776e1242938d997da5f9e55991a2b /tests/TagTest.php | |
parent | f8b5ad1cadd1370420f5477c47545386865baf94 (diff) | |
download | semanticscuttle-c4ba9ef2d295f85897557ce1f841a8bb368ed5ee.tar.gz semanticscuttle-c4ba9ef2d295f85897557ce1f841a8bb368ed5ee.tar.bz2 |
add (broken) tests for Services_Tag::normalize and Bookmark2Tag::attachTags with some empty tags
Diffstat (limited to 'tests/TagTest.php')
-rw-r--r-- | tests/TagTest.php | 8 |
1 files changed, 8 insertions, 0 deletions
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); + } + } ?> |