From: Dmitry Stogov Date: Fri, 11 Apr 2014 09:17:59 +0000 (+0400) Subject: Fixed tests (added session_destroy() to avoid side effects on the following tests) X-Git-Tag: POST_PHPNG_MERGE~412^2~122 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dac8cefb451b6e5c5080b932f0f6af8b98fa7645;p=php Fixed tests (added session_destroy() to avoid side effects on the following tests) --- diff --git a/ext/session/tests/006.phpt b/ext/session/tests/006.phpt index dba6894c7e..c9a11d3337 100644 --- a/ext/session/tests/006.phpt +++ b/ext/session/tests/006.phpt @@ -42,6 +42,8 @@ session_start(); echo "values after session:\n"; var_dump($a,$b); + +session_destroy(); ?> --EXPECTF-- original values: diff --git a/ext/session/tests/026.phpt b/ext/session/tests/026.phpt index 44f0ae0ec0..f797286bf6 100644 --- a/ext/session/tests/026.phpt +++ b/ext/session/tests/026.phpt @@ -44,6 +44,7 @@ $a = $_SESSION['a']; $b = $_SESSION['b']; echo "values after session:\n"; var_dump($a,$b); +session_destroy(); ?> --EXPECTF-- original values: