diff options
Diffstat (limited to 'Tests/Auth/OpenID')
-rw-r--r-- | Tests/Auth/OpenID/Consumer.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Tests/Auth/OpenID/Consumer.php b/Tests/Auth/OpenID/Consumer.php index f333acd..8424f6c 100644 --- a/Tests/Auth/OpenID/Consumer.php +++ b/Tests/Auth/OpenID/Consumer.php @@ -40,8 +40,6 @@ $_Auth_OpenID_assocs = array( array(str_repeat("\x00", 20), 'Zeros'), ); -$_Auth_OpenID_filestore_base_dir = "/tmp"; - function Auth_OpenID_parse($qs) { $result = array(); @@ -230,7 +228,7 @@ class Tests_Auth_OpenID_Consumer extends PHPUnit_TestCase { $_Auth_OpenID_assocs; $store = new Auth_OpenID_FileStore( - Auth_OpenID_FileStore::_mkdtemp($_Auth_OpenID_filestore_base_dir)); + $temp_dir = Auth_OpenID_FileStore::_mkdtemp()); if ($immediate) { $mode = 'checkid_immediate'; |