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.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.phpt')
-rw-r--r-- | ext/pdo_mysql/tests/pdo_mysql___construct.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo_mysql/tests/pdo_mysql___construct.phpt b/ext/pdo_mysql/tests/pdo_mysql___construct.phpt index f0048ff305..219678c671 100644 --- a/ext/pdo_mysql/tests/pdo_mysql___construct.phpt +++ b/ext/pdo_mysql/tests/pdo_mysql___construct.phpt @@ -31,7 +31,7 @@ MySQLPDOTest::skip(); try { if (NULL !== ($db = @new PDO())) printf("[001] Too few parameters\n"); - } catch (TypeException $ex) { + } catch (TypeError $ex) { } print tryandcatch(2, '$db = new PDO(chr(0));'); |