diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-04-08 18:50:10 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-04-08 18:50:10 +0200 |
commit | 31ae116fe4ab5cac3d2a85069adae2d211ecc846 (patch) | |
tree | 10c02f09fb0086b7553091fb73c299d9b294385d /tests/unit/db/FeedMapperTest.php | |
parent | 83e8691308971680977b6e29d7c1fbd790e4eb16 (diff) |
migrated database, utility, bootstrap from appframework
Diffstat (limited to 'tests/unit/db/FeedMapperTest.php')
-rw-r--r-- | tests/unit/db/FeedMapperTest.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/unit/db/FeedMapperTest.php b/tests/unit/db/FeedMapperTest.php index f347e9732..d38d4c230 100644 --- a/tests/unit/db/FeedMapperTest.php +++ b/tests/unit/db/FeedMapperTest.php @@ -95,7 +95,7 @@ class FeedMapperTest extends \OCA\AppFramework\Utility\MapperTestUtility { $params = array($id, $userId); $this->setMapperResult($sql, $params); - $this->setExpectedException('\OCA\AppFramework\Db\DoesNotExistException'); + $this->setExpectedException('\OCA\News\Db\DoesNotExistException'); $result = $this->mapper->find($id, $userId); } @@ -122,7 +122,7 @@ class FeedMapperTest extends \OCA\AppFramework\Utility\MapperTestUtility { $params = array($id, $userId); $this->setMapperResult($sql, $params, $rows); - $this->setExpectedException('\OCA\AppFramework\Db\MultipleObjectsReturnedException'); + $this->setExpectedException('\OCA\News\Db\MultipleObjectsReturnedException'); $result = $this->mapper->find($id, $userId); } @@ -238,7 +238,7 @@ class FeedMapperTest extends \OCA\AppFramework\Utility\MapperTestUtility { $this->setMapperResult($sql, array($urlHash, $this->user)); - $this->setExpectedException('\OCA\AppFramework\Db\DoesNotExistException'); + $this->setExpectedException('\OCA\News\Db\DoesNotExistException'); $result = $this->mapper->findByUrlHash($urlHash, $this->user); } @@ -264,7 +264,7 @@ class FeedMapperTest extends \OCA\AppFramework\Utility\MapperTestUtility { $this->setMapperResult($sql, array($urlHash, $this->user), $rows); - $this->setExpectedException('\OCA\AppFramework\Db\MultipleObjectsReturnedException'); + $this->setExpectedException('\OCA\News\Db\MultipleObjectsReturnedException'); $result = $this->mapper->findByUrlHash($urlHash, $this->user); } |