Fix DAO exception

Change the name and messages
This commit is contained in:
Alexis Degrugillier
2015-03-05 06:45:00 -05:00
committed by Marien Fressinaud
parent 5b90e1f4a0
commit 96d5d9d034
3 changed files with 7 additions and 7 deletions

View File

@@ -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() {