diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2019-08-28 16:43:43 +0200 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2019-08-28 16:45:05 +0200 |
commit | afb69b6f2d4872d6b916c10d7d394ca304481865 (patch) | |
tree | efb1659d301b28f1a70018ba81bddc7137c9ced5 | |
parent | 3f339ec15f5ea52c4bad62c209aff86c5de83b7e (diff) | |
download | php-git-afb69b6f2d4872d6b916c10d7d394ca304481865.tar.gz |
Fix test regarding ZPP TypeErrors
We simply remove the second call to `odbc_data_source` since it is
testing standard ZPP behavior.
-rw-r--r-- | ext/odbc/tests/odbc_data_source_001.phpt | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ext/odbc/tests/odbc_data_source_001.phpt b/ext/odbc/tests/odbc_data_source_001.phpt index 8f5767315a..fedbbc1b02 100644 --- a/ext/odbc/tests/odbc_data_source_001.phpt +++ b/ext/odbc/tests/odbc_data_source_001.phpt @@ -15,16 +15,12 @@ include 'config.inc'; $conn = odbc_connect($dsn, $user, $pass); var_dump(odbc_data_source($conn, NULL)); -var_dump(odbc_data_source($conn, '')); var_dump(odbc_data_source($conn, SQL_FETCH_FIRST)); ?> --EXPECTF-- Warning: odbc_data_source(): Invalid fetch type (0) in %s on line %d bool(false) - -Warning: odbc_data_source() expects parameter 2 to be int, string given in %s on line %d -NULL array(%d) { %a } |