diff --git a/test/pdo_sqlsrv/pdo_construct_TransactionIsolation_invalid_value.phpt b/test/pdo_sqlsrv/pdo_construct_TransactionIsolation_invalid_value.phpt new file mode 100644 index 00000000..0b9687fc --- /dev/null +++ b/test/pdo_sqlsrv/pdo_construct_TransactionIsolation_invalid_value.phpt @@ -0,0 +1,37 @@ +--TEST-- +Test PDO::__Construct connection option TransactionIsolation with invalid value +--SKIPIF-- + +--FILE-- +errorInfo ); +} +?> + +--EXPECT-- + +array(3) { + [0]=> + string(5) "IMSSP" + [1]=> + int(-63) + [2]=> + string(88) "An invalid value was specified for the keyword 'TransactionIsolation' in the DSN string." +} \ No newline at end of file diff --git a/test/pdo_sqlsrv/pdo_invalide_conn_opt.phpt b/test/pdo_sqlsrv/pdo_invalid_conn_opt.phpt similarity index 89% rename from test/pdo_sqlsrv/pdo_invalide_conn_opt.phpt rename to test/pdo_sqlsrv/pdo_invalid_conn_opt.phpt index 11452e1a..a5d5ecc7 100644 --- a/test/pdo_sqlsrv/pdo_invalide_conn_opt.phpt +++ b/test/pdo_sqlsrv/pdo_invalid_conn_opt.phpt @@ -1,5 +1,5 @@ --TEST-- -Test PDO::__Construct by passing connection options +Test PDO::__Construct with invalid connection option --SKIPIF-- --FILE-- @@ -21,7 +21,6 @@ try } catch( PDOException $e ) { var_dump( $e->errorInfo ); - exit; } ?>