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:
Joshua Sherman 2014-01-18 11:47:08 -05:00
parent 72be314073
commit 4bffc1d80c

View file

@ -145,9 +145,8 @@ class DatabaseTest extends PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException PDOException * @expectedException PDOException
* @expectedExceptionMessage SQLSTATE[08006] [7] could not connect to server * @expectedExceptionCode 7
* @expectedExceptionCode 7
*/ */
public function testOpenPostgreSQL() public function testOpenPostgreSQL()
{ {