summaryrefslogtreecommitdiffstats
path: root/Tests/Auth/OpenID/StoreTest.php
diff options
context:
space:
mode:
authortailor <cygnus@janrain.com>2006-01-19 23:19:51 +0000
committertailor <cygnus@janrain.com>2006-01-19 23:19:51 +0000
commite256fc0afcb747ac3155a2cff5de861067fc2416 (patch)
tree5f0985ed7b1e37c97755b2c0b33b28dd9a83077e /Tests/Auth/OpenID/StoreTest.php
parent2ede38d778de1b86affbdff0b9fdbf9fdd2c3e21 (diff)
downloadphp-openid-e256fc0afcb747ac3155a2cff5de861067fc2416.zip
php-openid-e256fc0afcb747ac3155a2cff5de861067fc2416.tar.gz
php-openid-e256fc0afcb747ac3155a2cff5de861067fc2416.tar.bz2
[project @ Fixed database name generator to replace dots with underscores in hostname]
Diffstat (limited to 'Tests/Auth/OpenID/StoreTest.php')
-rw-r--r--Tests/Auth/OpenID/StoreTest.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/Auth/OpenID/StoreTest.php b/Tests/Auth/OpenID/StoreTest.php
index 1949973..f5d88ca 100644
--- a/Tests/Auth/OpenID/StoreTest.php
+++ b/Tests/Auth/OpenID/StoreTest.php
@@ -21,6 +21,9 @@ $_Auth_OpenID_db_test_host = 'dbtest';
function _Auth_OpenID_getTmpDbName()
{
+ $hostname = php_uname('n');
+ $hostname = str_replace('.', '_', $hostname);
+
return sprintf("%s_%d_%s_openid_test",
php_uname('n'),
getmypid(),