From 96457ccde6f125a2969abf923d2657d8a955adb0 Mon Sep 17 00:00:00 2001 From: Michael Hamann Date: Wed, 20 Nov 2013 22:00:39 +0100 Subject: [PATCH] Fix the media index test cases for the new index name --- _test/mediaindex.test.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/_test/mediaindex.test.php b/_test/mediaindex.test.php index 2563ba6..b492f83 100644 --- a/_test/mediaindex.test.php +++ b/_test/mediaindex.test.php @@ -23,7 +23,7 @@ public function test_internalmedia() { $this->assertEquals( array( 'test:internalmedia.png' => array('test:internalmedia_usage'), 'internal_media.png' => array('test:internalmedia_usage') - ), idx_get_indexer()->lookupKey('pagemove_media', $query)); + ), idx_get_indexer()->lookupKey('relation_media', $query)); } public function test_media_in_links() { @@ -34,7 +34,7 @@ public function test_media_in_links() { $this->assertEquals(array( 'wiki:logo.png' => array('test:medialinks'), 'test:example.png' => array('test:medialinks') - ), idx_get_indexer()->lookupKey('pagemove_media', $query)); + ), idx_get_indexer()->lookupKey('relation_media', $query)); } public function test_media_in_footnotes() { @@ -45,6 +45,6 @@ public function test_media_in_footnotes() { $this->assertEquals(array( 'test:footnote.png' => array('test:media_footnotes'), 'footlink.png' => array('test:media_footnotes') - ), idx_get_indexer()->lookupKey('pagemove_media', $query)); + ), idx_get_indexer()->lookupKey('relation_media', $query)); } }