diff options
author | Josh Hoyt <josh@janrain.com> | 2006-01-26 22:26:28 +0000 |
---|---|---|
committer | Josh Hoyt <josh@janrain.com> | 2006-01-26 22:26:28 +0000 |
commit | a2c4ae4d98b72ea0f60cffac5c46fe5b1e7207b7 (patch) | |
tree | 36459c251dadf0d8758744ef13d255f0844405b7 | |
parent | 0e3612f5b34cd7689cc027b39d947eafb4bfff0b (diff) | |
download | php-openid-a2c4ae4d98b72ea0f60cffac5c46fe5b1e7207b7.zip php-openid-a2c4ae4d98b72ea0f60cffac5c46fe5b1e7207b7.tar.gz php-openid-a2c4ae4d98b72ea0f60cffac5c46fe5b1e7207b7.tar.bz2 |
[project @ Move test data to its own directory]
-rw-r--r-- | Tests/Auth/OpenID/Util.php | 3 | ||||
-rw-r--r-- | Tests/Auth/OpenID/data/dhexch (renamed from Tests/Auth/OpenID/dhexch) | 0 | ||||
-rw-r--r-- | Tests/Auth/OpenID/data/dhpriv (renamed from Tests/Auth/OpenID/dhpriv) | 0 | ||||
-rw-r--r-- | Tests/Auth/OpenID/data/hmac.txt (renamed from Tests/Auth/OpenID/hmac.txt) | 0 | ||||
-rw-r--r-- | Tests/Auth/OpenID/data/linkparse.txt (renamed from Tests/Auth/OpenID/linkparse.txt) | 0 | ||||
-rw-r--r-- | Tests/Auth/OpenID/data/n2b64 (renamed from Tests/Auth/OpenID/n2b64) | 0 |
6 files changed, 2 insertions, 1 deletions
diff --git a/Tests/Auth/OpenID/Util.php b/Tests/Auth/OpenID/Util.php index 266fe84..c6bf64d 100644 --- a/Tests/Auth/OpenID/Util.php +++ b/Tests/Auth/OpenID/Util.php @@ -7,7 +7,8 @@ function Tests_Auth_OpenID_readlines($name) { $path = dirname(realpath(__FILE__)); - $data_file_name = $path . DIRECTORY_SEPARATOR . $name; + $sep = DIRECTORY_SEPARATOR; + $data_file_name = $path . $sep . 'data' . $sep . $name; $lines = file($data_file_name); if ($lines === false) { trigger_error("Failed to open data file: $dh_test_data_file", diff --git a/Tests/Auth/OpenID/dhexch b/Tests/Auth/OpenID/data/dhexch index 7a8be07..7a8be07 100644 --- a/Tests/Auth/OpenID/dhexch +++ b/Tests/Auth/OpenID/data/dhexch diff --git a/Tests/Auth/OpenID/dhpriv b/Tests/Auth/OpenID/data/dhpriv index 0fa5231..0fa5231 100644 --- a/Tests/Auth/OpenID/dhpriv +++ b/Tests/Auth/OpenID/data/dhpriv diff --git a/Tests/Auth/OpenID/hmac.txt b/Tests/Auth/OpenID/data/hmac.txt index 4299a96..4299a96 100644 --- a/Tests/Auth/OpenID/hmac.txt +++ b/Tests/Auth/OpenID/data/hmac.txt diff --git a/Tests/Auth/OpenID/linkparse.txt b/Tests/Auth/OpenID/data/linkparse.txt index 2206395..2206395 100644 --- a/Tests/Auth/OpenID/linkparse.txt +++ b/Tests/Auth/OpenID/data/linkparse.txt diff --git a/Tests/Auth/OpenID/n2b64 b/Tests/Auth/OpenID/data/n2b64 index b12a246..b12a246 100644 --- a/Tests/Auth/OpenID/n2b64 +++ b/Tests/Auth/OpenID/data/n2b64 |