diff options
Diffstat (limited to 'ext/pdo_mysql/tests/pdo_mysql___construct_options.phpt')
-rw-r--r-- | ext/pdo_mysql/tests/pdo_mysql___construct_options.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo_mysql/tests/pdo_mysql___construct_options.phpt b/ext/pdo_mysql/tests/pdo_mysql___construct_options.phpt index 5166958d24..9a64f59fe2 100644 --- a/ext/pdo_mysql/tests/pdo_mysql___construct_options.phpt +++ b/ext/pdo_mysql/tests/pdo_mysql___construct_options.phpt @@ -70,7 +70,7 @@ MySQLPDOTest::skip(); try { if (NULL !== ($db = @new PDO($dsn, $user, $pass, 'wrong type'))) printf("[001] Expecting NULL got %s/%s\n", gettype($db), $db); - } catch (Exception $e) { + } catch (TypeException $e) { } if (!is_object($db = new PDO($dsn, $user, $pass, array()))) |