com php-src: PR #2211 don't supress warnings in tests: ext/dom/tests/dom_set_attr_node.phpt
| From: | Joe Watkins | Date: | Sat, 07 Jan 2017 08:06:38 +0000 |
| Subject: | com php-src: PR #2211 don't supress warnings in tests: ext/dom/tests/dom_set_attr_node.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-96590@lists.php.net to get a copy of this message | ||
Commit: 98c2cd4311421e8ccb8a0a805b3ada5ae1e164e1
Author: Craig Duncan <git@duncanc.co.uk> Sun, 20 Nov 2016 16:43:46 +0000
Committer: Joe Watkins <krakjoe@php.net> Sat, 7 Jan 2017 08:06:38 +0000
Parents: 41c1d0291c4e11ac8e3d793639075576077cbeea
Branches: PHP-7.0 PHP-7.1 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=98c2cd4311421e8ccb8a0a805b3ada5ae1e164e1
Log:
PR #2211 don't supress warnings in tests
Bugs:
https://bugs.php.net/2211
Changed paths:
M ext/dom/tests/dom_set_attr_node.phpt
Diff:
diff --git a/ext/dom/tests/dom_set_attr_node.phpt b/ext/dom/tests/dom_set_attr_node..phpt
index 1916cd5..a426a6f 100644
--- a/ext/dom/tests/dom_set_attr_node.phpt
+++ b/ext/dom/tests/dom_set_attr_node.phpt
@@ -2,8 +2,6 @@
Test: setAttributeNode()
--SKIPIF--
<?php require_once('skipif.inc'); ?>
---INI--
-error_reporting = E_ALL & ~E_WARNING
--FILE--
<?php
@@ -63,7 +61,9 @@ object(DOMException)#%d (7) {
["args"]=>
array(1) {
[0]=>
- DOMAttr
+
+Warning: var_dump(): %s
+DOMAttr
}
}
}