aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-02-05 13:34:26 +0000
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-02-05 13:34:26 +0000
commit76ba36093ff8260986a459ae449b0ac7a75fed37 (patch)
treece5b3a28e53466b284011a50f7fc8f8e03c8626a
parent73e20c2ff50d197105f3efbc8940c498de4d2f47 (diff)
downloadsemanticscuttle-76ba36093ff8260986a459ae449b0ac7a75fed37.tar.gz
semanticscuttle-76ba36093ff8260986a459ae449b0ac7a75fed37.tar.bz2
tests fix: enable tests for getLinks()
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@34 b3834d28-1941-0410-a4f8-b48e95affb8f
-rw-r--r--tests/tag2TagTest.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/tag2TagTest.php b/tests/tag2TagTest.php
index 4154c6f..f54537c 100644
--- a/tests/tag2TagTest.php
+++ b/tests/tag2TagTest.php
@@ -44,7 +44,9 @@ class Tag2TagTest extends PHPUnit_Framework_TestCase
// basic test
+
$links = $tts->getLinks(1);
+ $this->assertEquals(4, count($links));
$allLinkedTags = $tts->getAllLinkedTags('e', '>', 1, true); // as flat list
$this->assertEquals(array(), $allLinkedTags);