aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/LinkDBTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/LinkDBTest.php')
-rw-r--r--tests/LinkDBTest.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/LinkDBTest.php b/tests/LinkDBTest.php
index 30ea4e01..0db81fd6 100644
--- a/tests/LinkDBTest.php
+++ b/tests/LinkDBTest.php
@@ -256,7 +256,7 @@ class LinkDBTest extends PHPUnit_Framework_TestCase
256 $link = self::$publicLinkDB->getLinkFromUrl('http://mediagoblin.org/'); 256 $link = self::$publicLinkDB->getLinkFromUrl('http://mediagoblin.org/');
257 257
258 $this->assertNotEquals(false, $link); 258 $this->assertNotEquals(false, $link);
259 $this->assertEquals( 259 $this->assertContains(
260 'A free software media publishing platform', 260 'A free software media publishing platform',
261 $link['description'] 261 $link['description']
262 ); 262 );
@@ -293,6 +293,7 @@ class LinkDBTest extends PHPUnit_Framework_TestCase
293 // The DB contains a link with `sTuff` and another one with `stuff` tag. 293 // The DB contains a link with `sTuff` and another one with `stuff` tag.
294 // They need to be grouped with the first case found (`sTuff`). 294 // They need to be grouped with the first case found (`sTuff`).
295 'sTuff' => 2, 295 'sTuff' => 2,
296 'hashtag' => 2,
296 ), 297 ),
297 self::$publicLinkDB->allTags() 298 self::$publicLinkDB->allTags()
298 ); 299 );
@@ -315,6 +316,7 @@ class LinkDBTest extends PHPUnit_Framework_TestCase
315 'sTuff' => 2, 316 'sTuff' => 2,
316 '-exclude' => 1, 317 '-exclude' => 1,
317 '.hidden' => 1, 318 '.hidden' => 1,
319 'hashtag' => 2,
318 ), 320 ),
319 self::$privateLinkDB->allTags() 321 self::$privateLinkDB->allTags()
320 ); 322 );