modified classes for GeneralException thrown
This commit is contained in:
@ -17,6 +17,7 @@ require_once dirname(__FILE__) . '/../../model/MongoDbCommand.php';
|
||||
require_once dirname(__FILE__) . '/../../model/DbStatement.php';
|
||||
require_once dirname(__FILE__) . '/../../model/MongoStatement.php';
|
||||
require_once dirname(__FILE__) . '/../../model/MongoDriver.php';
|
||||
require_once dirname(__FILE__) . '/../../exception/GeneralException.php';
|
||||
|
||||
class MongoDriverTest extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
@ -72,7 +73,7 @@ class MongoDriverTest extends PHPUnit_Framework_TestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* @expectedException Exception
|
||||
* @expectedException GeneralException
|
||||
* @expectedExceptionMessage Configuration must have a "hostname".
|
||||
*/
|
||||
public function testGetConnectionNoHostname()
|
||||
|
Reference in New Issue
Block a user