$refDB = new ReferenceLinkDB();
$refDB->write(self::$testDatastore);
$linkDB = new LinkDB(self::$testDatastore, true, false);
- $this->assertEmpty($linkDB->filter(LinkFilter::$FILTER_TAG, 'exclude'));
+ $this->assertEmpty($linkDB->filterSearch(array('searchtags' => 'exclude')));
$updater = new Updater(array(), self::$configFields, $linkDB, true);
$updater->updateMethodRenameDashTags();
- var_dump($linkDB->filter(LinkFilter::$FILTER_TAG, 'exclude'));
- $this->assertNotEmpty($linkDB->filter(LinkFilter::$FILTER_TAG, 'exclude'));
+ $this->assertNotEmpty($linkDB->filterSearch(array('searchtags' => 'exclude')));
}
}