Skip to content

Commit

Permalink
Fix the media index test cases for the new index name
Browse files Browse the repository at this point in the history
  • Loading branch information
michitux committed Nov 20, 2013
1 parent 6b35682 commit 96457cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _test/mediaindex.test.php
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand All @@ -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() {
Expand All @@ -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));
}
}

0 comments on commit 96457cc

Please sign in to comment.