diff options
Diffstat (limited to 'tests/BookmarksTest.php')
-rw-r--r-- | tests/BookmarksTest.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/BookmarksTest.php b/tests/BookmarksTest.php index fd9ed76..7520058 100644 --- a/tests/BookmarksTest.php +++ b/tests/BookmarksTest.php @@ -20,14 +20,14 @@ class BookmarksTest extends PHPUnit_Framework_TestCase $tableprefix, $TEMPLATES_DIR, $filetypes, $debugMode; require_once dirname(__FILE__) . '/../src/SemanticScuttle/header.php'; - $this->us =SemanticScuttle_Service_Factory::getServiceInstance('User'); - $this->bs =SemanticScuttle_Service_Factory::getServiceInstance('Bookmark'); + $this->us =SemanticScuttle_Service_Factory::get('User'); + $this->bs =SemanticScuttle_Service_Factory::get('Bookmark'); $this->bs->deleteAll(); - $this->b2ts=SemanticScuttle_Service_Factory::getServiceInstance('Bookmark2Tag'); + $this->b2ts=SemanticScuttle_Service_Factory::get('Bookmark2Tag'); $this->b2ts->deleteAll(); - $this->tts =SemanticScuttle_Service_Factory::getServiceInstance('Tag2Tag'); + $this->tts =SemanticScuttle_Service_Factory::get('Tag2Tag'); $this->tts->deleteAll(); - $this->tsts =SemanticScuttle_Service_Factory::getServiceInstance('TagStat'); + $this->tsts =SemanticScuttle_Service_Factory::get('TagStat'); $this->tsts->deleteAll(); } |