summaryrefslogtreecommitdiffstatshomepage
path: root/tests/FactoryTest.php
diff options
context:
space:
mode:
authorGravatar Christian Weiske2011-04-12 08:47:44 +0200
committerGravatar Christian Weiske2011-04-12 08:47:44 +0200
commit90f29d6e671f4c24f75bdc4774f223c53bf0a46c (patch)
tree7ff98ab6c32af0846cbf1e1d103f2e755f1c7846 /tests/FactoryTest.php
parent36ff61b38e2f374c03543b70cce487415b793073 (diff)
downloadscuttle-90f29d6e671f4c24f75bdc4774f223c53bf0a46c.tar.gz
scuttle-90f29d6e671f4c24f75bdc4774f223c53bf0a46c.zip
first test for service factory
Diffstat (limited to 'tests/FactoryTest.php')
-rw-r--r--tests/FactoryTest.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/FactoryTest.php b/tests/FactoryTest.php
new file mode 100644
index 0000000..980e92e
--- /dev/null
+++ b/tests/FactoryTest.php
@@ -0,0 +1,13 @@
+<?php
+
+class FactoryTest extends TestBase
+{
+ public function testGetDb()
+ {
+ $this->assertInstanceOf(
+ 'sql_db',
+ SemanticScuttle_Service_Factory::getDb()
+ );
+ }
+}
+?> \ No newline at end of file