aboutsummaryrefslogtreecommitdiff
path: root/models/openid-php-openid-782224d/Tests/Auth/Yadis/TestUtil.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-12-15 20:07:48 -0500
committerCash Costello <cash.costello@gmail.com>2011-12-15 20:07:48 -0500
commit580cd62f0a4fac5dba37a8a152afaecd99e8c767 (patch)
treead71f414174ffe91536ecb9875377ce2682b53fc /models/openid-php-openid-782224d/Tests/Auth/Yadis/TestUtil.php
parentd9bf22a0e29c2a70049443a0ae8521a2c0492c8b (diff)
downloadelgg-580cd62f0a4fac5dba37a8a152afaecd99e8c767.tar.gz
elgg-580cd62f0a4fac5dba37a8a152afaecd99e8c767.tar.bz2
removed old libraries - depends on openid_api now
Diffstat (limited to 'models/openid-php-openid-782224d/Tests/Auth/Yadis/TestUtil.php')
-rw-r--r--models/openid-php-openid-782224d/Tests/Auth/Yadis/TestUtil.php30
1 files changed, 0 insertions, 30 deletions
diff --git a/models/openid-php-openid-782224d/Tests/Auth/Yadis/TestUtil.php b/models/openid-php-openid-782224d/Tests/Auth/Yadis/TestUtil.php
deleted file mode 100644
index 6c2581251..000000000
--- a/models/openid-php-openid-782224d/Tests/Auth/Yadis/TestUtil.php
+++ /dev/null
@@ -1,30 +0,0 @@
-<?php
-
-/**
- * Utilites for test functions
- */
-
-function Tests_Auth_Yadis_datafile($name, $reader)
-{
- $path = dirname(realpath(__FILE__));
- $sep = DIRECTORY_SEPARATOR;
- $filename = $path . $sep . 'data' . $sep . $name;
- $data = $reader($filename);
- if ($data === false) {
- $msg = "Failed to open data file: $name";
- trigger_error($msg, E_USER_ERROR);
- }
- return $data;
-}
-
-function Tests_Auth_Yadis_readdata($name)
-{
- return Tests_Auth_Yadis_datafile($name, 'file_get_contents');
-}
-
-function Tests_Auth_Yadis_readlines($name)
-{
- return Tests_Auth_Yadis_datafile($name, 'file');
-}
-
-