com php-src: Fixed tests (added session_destroy() to avoid side effects on the following tests): e xt/session/tests/006.phpt ext/session/tests/026
.phpt

From: Date: Fri, 11 Apr 2014 09:17:59 +0000
Subject: com php-src: Fixed tests (added session_destroy() to avoid side effects on the following tests): e xt/session/tests/006.phpt ext/session/tests/026
.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-77430@lists.php.net to get a copy of this message
Commit: dac8cefb451b6e5c5080b932f0f6af8b98fa7645 Author: Dmitry Stogov <dmitry@zend.com> Fri, 11 Apr 2014 13:17:59 +0400 Parents: 4adedff13d792c3d0d50838f1d924e5b5c58a0f9 Branches: phpng Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=dac8cefb451b6e5c5080b932f0f6af8b98fa7645 Log: Fixed tests (added session_destroy() to avoid side effects on the following tests) Changed paths: M ext/session/tests/006.phpt M ext/session/tests/026.phpt Diff: diff --git a/ext/session/tests/006.phpt b/ext/session/tests/006.phpt index dba6894..c9a11d3 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 44f0ae0..f797286 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:

« previous php.cvs (#77430) next »