From 90f29d6e671f4c24f75bdc4774f223c53bf0a46c Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Tue, 12 Apr 2011 08:47:44 +0200 Subject: first test for service factory --- tests/FactoryTest.php | 13 +++++++++++++ tests/phpunit.xml | 12 ++++++++---- 2 files changed, 21 insertions(+), 4 deletions(-) create mode 100644 tests/FactoryTest.php (limited to 'tests') 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 @@ +assertInstanceOf( + 'sql_db', + SemanticScuttle_Service_Factory::getDb() + ); + } +} +?> \ No newline at end of file diff --git a/tests/phpunit.xml b/tests/phpunit.xml index 734fa95..86b7b60 100644 --- a/tests/phpunit.xml +++ b/tests/phpunit.xml @@ -1,8 +1,12 @@ - + - - . - + + ../src/SemanticScuttle/ + ../data/templates/ + ../www/ + \ No newline at end of file -- cgit v1.2.3