diff options
| author | Aaron Piotrowski <aaron@trowski.com> | 2015-05-16 16:49:14 -0500 |
|---|---|---|
| committer | Aaron Piotrowski <aaron@trowski.com> | 2015-05-16 16:49:14 -0500 |
| commit | 64b167d201e567ec213b5aa37c66536621835331 (patch) | |
| tree | 272d6f3951625ef7bc82eba08bad64aef9b883d2 /ext/pdo_mysql/tests/pdo_mysql___construct_options.phpt | |
| parent | d042d0880796cfe99262bb6fa44225e984c63ace (diff) | |
| download | php-git-64b167d201e567ec213b5aa37c66536621835331.tar.gz | |
Updated tests to reflect exception class changes.
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 9a64f59fe2..62051d7ae2 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 (TypeException $e) { + } catch (TypeError $e) { } if (!is_object($db = new PDO($dsn, $user, $pass, array()))) |
