com php-src: fix tests: ext/wddx/tests/bug72790.phpt ext/wddx/tests/bug72799.phpt
| From: | Stanislav Malyshev | Date: | Tue, 16 Aug 2016 11:01:06 +0000 |
| Subject: | com php-src: fix tests: ext/wddx/tests/bug72790.phpt ext/wddx/tests/bug72799.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-93860@lists.php.net to get a copy of this message | ||
Commit: a47df5be1999b30df0d6d9161e57e760443c9eec
Author: Anatol Belski <ab@php.net> Tue, 16 Aug 2016 13:01:06 +0200
Parents: 4bccb8e94e638f24582d8120f142d9e32c27ad0d
Branches: PHP-7.0
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=a47df5be1999b30df0d6d9161e57e760443c9eec
Log:
fix tests
Changed paths:
M ext/wddx/tests/bug72790.phpt
M ext/wddx/tests/bug72799.phpt
Diff:
diff --git a/ext/wddx/tests/bug72790.phpt b/ext/wddx/tests/bug72790.phpt
index a60524b..5bc4478 100644
--- a/ext/wddx/tests/bug72790.phpt
+++ b/ext/wddx/tests/bug72790.phpt
@@ -31,5 +31,6 @@ XML;
$array = wddx_deserialize($xml);
var_dump($array);
?>
---EXPECT--
-NULL
\ No newline at end of file
+--EXPECTF--
+Notice: Undefined variable: array in %s%ebug72790.php on line %d
+NULL
diff --git a/ext/wddx/tests/bug72799..phpt b/ext/wddx/tests/bug72799.phpt
index 5861d55..53ac95b 100644
--- a/ext/wddx/tests/bug72799.phpt
+++ b/ext/wddx/tests/bug72799.phpt
@@ -24,5 +24,6 @@ XML;
$array = wddx_deserialize($xml);
var_dump($array);
?>
---EXPECT--
-NULL
\ No newline at end of file
+--EXPECTF--
+Notice: Undefined variable: array in %s%ebug72799.php on line 16
+NULL