summaryrefslogtreecommitdiff
path: root/ext/snmp/tests/snmp_get_quick_print.phpt
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2019-09-27 19:07:29 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2019-09-27 19:07:29 +0200
commit752012a49169fea1be1bae537bf64fe4b03ab090 (patch)
tree1520a7bbce9c9ab88e1674a488d956302894c23a /ext/snmp/tests/snmp_get_quick_print.phpt
parentf8ae8e9e80114f4f359115b998ad4312d72b0e85 (diff)
downloadphp-git-752012a49169fea1be1bae537bf64fe4b03ab090.tar.gz
Fix tests wrt. ZPP warnings to errors
Since these test parts are solely about checking ZPP, we drop them altogether.
Diffstat (limited to 'ext/snmp/tests/snmp_get_quick_print.phpt')
-rw-r--r--ext/snmp/tests/snmp_get_quick_print.phpt15
1 files changed, 0 insertions, 15 deletions
diff --git a/ext/snmp/tests/snmp_get_quick_print.phpt b/ext/snmp/tests/snmp_get_quick_print.phpt
index 630f7b544a..bce2aca461 100644
--- a/ext/snmp/tests/snmp_get_quick_print.phpt
+++ b/ext/snmp/tests/snmp_get_quick_print.phpt
@@ -10,11 +10,6 @@ require_once(__DIR__.'/skipif.inc');
<?php
require_once(__DIR__.'/snmp_include.inc');
-echo "Checking error handling\n";
-var_dump(snmp_get_quick_print('noarg'));
-var_dump(snmp_set_quick_print('noarg'));
-var_dump(snmp_set_quick_print());
-
echo "Checking working\n";
var_dump(snmp_get_quick_print());
snmp_set_quick_print(false);
@@ -24,16 +19,6 @@ var_dump(snmp_get_quick_print());
?>
--EXPECTF--
-Checking error handling
-
-Warning: snmp_get_quick_print() expects exactly 0 parameters, 1 given in %s on line %d
-NULL
-
-Warning: snmp_set_quick_print() expects parameter 1 to be int, %s given in %s on line %d
-bool(false)
-
-Warning: snmp_set_quick_print() expects exactly 1 parameter, 0 given in %s on line %d
-bool(false)
Checking working
bool(%s)
bool(false)