]> granicus.if.org Git - php/commitdiff
Fix test for cases where data sources are available
authorChristoph M. Becker <cmbecker69@gmx.de>
Thu, 24 Sep 2020 09:23:20 +0000 (11:23 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Thu, 24 Sep 2020 09:26:16 +0000 (11:26 +0200)
That `bool(false)` is a relict of adapting the test expectations to the
warning promotions.

ext/odbc/tests/odbc_data_source_001.phpt

index d92a44252b6f4e11944605d413d17d747c2ebbc9..a641d07b74131971c293a0e5d8c10ef876d6948c 100644 (file)
@@ -24,7 +24,6 @@ var_dump(odbc_data_source($conn, SQL_FETCH_FIRST));
 ?>
 --EXPECTF--
 odbc_data_source(): Argument #2 ($fetch_type) must be either SQL_FETCH_FIRST or SQL_FETCH_NEXT
-bool(false)
 array(%d) {
 %a
 }