Lines Matching refs:old_id
9 private $old_id = 'old_testid'; variable in indexer_rename_test
16 … saveWikiText($this->old_id, 'Old test content', 'Created old test page for indexer rename test');
17 idx_addPage($this->old_id);
23 $oldpid = $this->indexer->getPID($this->old_id);
25 …$this->assertTrue($this->indexer->renamePage($this->old_id, $newid), 'Renaming the page to a new i…
26 io_rename(wikiFN($this->old_id), wikiFN($newid));
28 …$this->assertNotEquals($this->indexer->getPID($this->old_id), $oldpid, 'PID for the old page uncha…
39 $oldpid = $this->indexer->getPID($this->old_id);
42 …$this->assertTrue($this->indexer->renamePage($this->old_id, $newid), 'Renaming the page to an exis…
44 …$this->assertNotEquals($this->indexer->getPID($this->old_id), $oldpid, 'PID for old page unchanged…
45 …$this->assertNotEquals($this->indexer->getPID($this->old_id), $existingpid, 'PID for old page is n…
54 $this->indexer->addMetaKeys($this->old_id, array('mkey' => 'old_value'));
60 …$this->assertEquals(array($this->old_id), $this->indexer->lookupKey('mkey', $query), 'Page can\'t …
64 … $this->indexer->addMetaKeys($this->old_id, array('mkey' => array('old_value', 'new_value')));
79 … $this->assertContains($this->old_id, $result, 'Page with both values can\'t be found anymore');