From: mensonge Date: Tue, 5 Feb 2008 13:34:26 +0000 (+0000) Subject: tests fix: enable tests for getLinks() X-Git-Tag: v0.88~35 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=76ba36093ff8260986a459ae449b0ac7a75fed37;p=semanticscuttle.git tests fix: enable tests for getLinks() git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@34 b3834d28-1941-0410-a4f8-b48e95affb8f --- 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);