aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGravatar Alexis Degrugillier <github@ainw.org> 2015-03-05 06:45:00 -0500
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2015-03-05 13:29:41 +0100
commit96d5d9d034daadb2357f27b3763854b647f2086c (patch)
treee6866a0dfa500237d13a0fb0f2ab5cd1058c0908 /tests
parent5b90e1f4a0057aa78fd7d8d4d748b01676ec9073 (diff)
Fix DAO exception
Change the name and messages
Diffstat (limited to 'tests')
-rw-r--r--tests/app/Models/UserQueryTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/app/Models/UserQueryTest.php b/tests/app/Models/UserQueryTest.php
index 2234be6e1..a0928d5ae 100644
--- a/tests/app/Models/UserQueryTest.php
+++ b/tests/app/Models/UserQueryTest.php
@@ -20,7 +20,7 @@ class UserQueryTest extends \PHPUnit_Framework_TestCase {
}
/**
- * @expectedException Exceptions/FreshRSS_DAOException
+ * @expectedException Exceptions/FreshRSS_DAO_Exception
* @expectedExceptionMessage Category DAO is not loaded in UserQuery
*/
public function test__construct_whenCategoryQueryAndNoDao_throwsException() {
@@ -48,7 +48,7 @@ class UserQueryTest extends \PHPUnit_Framework_TestCase {
}
/**
- * @expectedException Exceptions/FreshRSS_DAOException
+ * @expectedException Exceptions/FreshRSS_DAO_Exception
* @expectedExceptionMessage Feed DAO is not loaded in UserQuery
*/
public function test__construct_whenFeedQueryAndNoDao_throwsException() {