mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-05-18 13:24:37 -04:00
Fix DAO exception
Change the name and messages
This commit is contained in:
committed by
Marien Fressinaud
parent
5b90e1f4a0
commit
96d5d9d034
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user