From: Christoph M. Becker Date: Wed, 28 Aug 2019 14:43:43 +0000 (+0200) Subject: Fix test regarding ZPP TypeErrors X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=afb69b6f2d4872d6b916c10d7d394ca304481865;p=php Fix test regarding ZPP TypeErrors We simply remove the second call to `odbc_data_source` since it is testing standard ZPP behavior. --- 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 }