summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Hoyt <josh@janrain.com>2006-09-27 00:04:12 +0000
committerJosh Hoyt <josh@janrain.com>2006-09-27 00:04:12 +0000
commit17bf5d3c887446e92dc1fea68d9e9b17e46e7777 (patch)
treef1b0d34be7b6071a5d811ca471cc76f22c723fc9
parent734bfe87f2aa26def84120a14c919e66682e9090 (diff)
downloadphp-openid-17bf5d3c887446e92dc1fea68d9e9b17e46e7777.zip
php-openid-17bf5d3c887446e92dc1fea68d9e9b17e46e7777.tar.gz
php-openid-17bf5d3c887446e92dc1fea68d9e9b17e46e7777.tar.bz2
[project @ Fix temporary directory platform dependency in Consumer]
-rw-r--r--Tests/Auth/OpenID/Consumer.php4
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';