Dropped error message from expected exception
Travis was dumping the same error code but now the same message. Dropping the message assertion but still asserting the expected exception code.
This commit is contained in:
parent
72be314073
commit
4bffc1d80c
1 changed files with 2 additions and 3 deletions
|
@ -145,9 +145,8 @@ class DatabaseTest extends PHPUnit_Framework_TestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @expectedException PDOException
|
||||
* @expectedExceptionMessage SQLSTATE[08006] [7] could not connect to server
|
||||
* @expectedExceptionCode 7
|
||||
* @expectedException PDOException
|
||||
* @expectedExceptionCode 7
|
||||
*/
|
||||
public function testOpenPostgreSQL()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue