aboutsummaryrefslogtreecommitdiff
path: root/tests/bookmarksTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bookmarksTest.php')
-rw-r--r--tests/bookmarksTest.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/bookmarksTest.php b/tests/bookmarksTest.php
index e229d5e..3bff35d 100644
--- a/tests/bookmarksTest.php
+++ b/tests/bookmarksTest.php
@@ -19,14 +19,14 @@ class BookmarksTest extends PHPUnit_Framework_TestCase
global $dbhost, $dbuser, $dbpass, $dbname, $dbport, $dbpersist, $dbtype, $tableprefix, $TEMPLATES_DIR, $filetypes, $debugMode;
require_once('./header.inc.php');
- $this->us =& ServiceFactory::getServiceInstance('UserService');
- $this->bs =& ServiceFactory::getServiceInstance('BookmarkService');
+ $this->us =SemanticScuttle_Service_Factory::getServiceInstance('User');
+ $this->bs =SemanticScuttle_Service_Factory::getServiceInstance('Bookmark');
$this->bs->deleteAll();
- $this->b2ts=& ServiceFactory::getServiceInstance('Bookmark2TagService');
+ $this->b2ts=SemanticScuttle_Service_Factory::getServiceInstance('Bookmark2Tag');
$this->b2ts->deleteAll();
- $this->tts =& ServiceFactory::getServiceInstance('Tag2TagService');
+ $this->tts =SemanticScuttle_Service_Factory::getServiceInstance('Tag2Tag');
$this->tts->deleteAll();
- $this->tsts =& ServiceFactory::getServiceInstance('TagStatService');
+ $this->tsts =SemanticScuttle_Service_Factory::getServiceInstance('TagStat');
$this->tsts->deleteAll();
}