Skip to content

Commit afb69b6

Browse files
committed
Fix test regarding ZPP TypeErrors
We simply remove the second call to `odbc_data_source` since it is testing standard ZPP behavior.
1 parent 3f339ec commit afb69b6

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

ext/odbc/tests/odbc_data_source_001.phpt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,12 @@ include 'config.inc';
1515
$conn = odbc_connect($dsn, $user, $pass);
1616

1717
var_dump(odbc_data_source($conn, NULL));
18-
var_dump(odbc_data_source($conn, ''));
1918
var_dump(odbc_data_source($conn, SQL_FETCH_FIRST));
2019

2120
?>
2221
--EXPECTF--
2322
Warning: odbc_data_source(): Invalid fetch type (0) in %s on line %d
2423
bool(false)
25-
26-
Warning: odbc_data_source() expects parameter 2 to be int, string given in %s on line %d
27-
NULL
2824
array(%d) {
2925
%a
3026
}

0 commit comments

Comments
 (0)