From 4bffc1d80c83e1cf31f6934250f5b733316bcd1f Mon Sep 17 00:00:00 2001 From: Joshua Sherman Date: Sat, 18 Jan 2014 11:47:08 -0500 Subject: [PATCH] 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. --- tests/classes/DatabaseTest.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/classes/DatabaseTest.php b/tests/classes/DatabaseTest.php index 05bcff3..d0a8254 100644 --- a/tests/classes/DatabaseTest.php +++ b/tests/classes/DatabaseTest.php @@ -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() {