Author: dr
Date: Mon Dec 3 11:19:57 2007
New Revision: 6900
Log:
- Reset the $_GET and $_SERVER after the tests, so that other tests that rely
on them keep working. This is necessary to make the ConsoleTools tests run
after Authentication tests f.e.
Modified:
trunk/Authentication/tests/filters/openid/openid_test.php
Modified: trunk/Authentication/tests/filters/openid/openid_test.php
==============================================================================
--- trunk/Authentication/tests/filters/openid/openid_test.php [iso-8859-1]
(original)
+++ trunk/Authentication/tests/filters/openid/openid_test.php [iso-8859-1] Mon
Dec 3 11:19:57 2007
@@ -126,13 +126,16 @@
public function setUp()
{
+ $this->origGet = $_GET;
+ $this->origServer = $_SERVER;
$_GET = self::$requestEmpty;
$_SERVER = self::$server;
}
public function tearDown()
{
-
+ $_GET = $this->origGet;
+ $_SERVER = $this->origServer;
}
public function testOpenidWrapperCheckSignatureSmart()
--
svn-components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/svn-components