aboutsummaryrefslogtreecommitdiff
path: root/tests/TagsCacheTest.php
diff options
context:
space:
mode:
authorcweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-10-23 17:13:16 +0000
committercweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-10-23 17:13:16 +0000
commit68c01cda10ef49b05fffb6e323fa2d34ba5dd2f4 (patch)
tree5aabcd77449786df7629f351e2f2816284f99cd5 /tests/TagsCacheTest.php
parent3df99a0aec0b926464449e8ca33c808c63d903df (diff)
downloadsemanticscuttle-68c01cda10ef49b05fffb6e323fa2d34ba5dd2f4.tar.gz
semanticscuttle-68c01cda10ef49b05fffb6e323fa2d34ba5dd2f4.tar.bz2
rename ServiceFactory::getServiceInstance() to get() - much easier to write
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@396 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'tests/TagsCacheTest.php')
-rw-r--r--tests/TagsCacheTest.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/TagsCacheTest.php b/tests/TagsCacheTest.php
index f401ab6..8e15f2d 100644
--- a/tests/TagsCacheTest.php
+++ b/tests/TagsCacheTest.php
@@ -19,16 +19,16 @@ class TagsCacheTest extends PHPUnit_Framework_TestCase
global $dbhost, $dbuser, $dbpass, $dbname, $dbport, $dbpersist, $dbtype, $tableprefix, $TEMPLATES_DIR, $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();
- $this->tcs =SemanticScuttle_Service_Factory::getServiceInstance('TagCache');
+ $this->tcs =SemanticScuttle_Service_Factory::get('TagCache');
$this->tcs->deleteAll();
}