diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-04-09 10:37:47 +0200 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-04-09 10:37:47 +0200 |
commit | 4c7c12584c7b6ed6598eab6725e0a51957d81f53 (patch) | |
tree | 260e08a1ffe949da232f2750848b805f51172442 /tests | |
parent | ca0864dbcd2b01a31a997c1db28aa241512dcb5f (diff) |
fixed feedbl unittests
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/bl/FeedBlTest.php | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/tests/unit/bl/FeedBlTest.php b/tests/unit/bl/FeedBlTest.php index 312bd7cfe..92c472834 100644 --- a/tests/unit/bl/FeedBlTest.php +++ b/tests/unit/bl/FeedBlTest.php @@ -23,12 +23,8 @@ * */ -namespace { - class DatabaseException extends Exception{}; -} - -namespace OCA\News\Bl { +namespace OCA\News\Bl; require_once(__DIR__ . "/../../classloader.php"); @@ -182,7 +178,6 @@ class FeedBlTest extends \OCA\AppFramework\Utility\TestUtility { $feed = new Feed(); $feed->setId(3); $feed->getUrl('test'); - $ex = new \DatabaseException(''); $item = new Item(); $item->setGuidHash(md5('hi')); @@ -221,7 +216,6 @@ class FeedBlTest extends \OCA\AppFramework\Utility\TestUtility { $feed = new Feed(); $feed->setId(3); $feed->getUrl('test'); - $ex = new \DatabaseException(''); $item = new Item(); $item->setGuidHash(md5('hi')); @@ -305,5 +299,3 @@ class FeedBlTest extends \OCA\AppFramework\Utility\TestUtility { } - -}
\ No newline at end of file |