summaryrefslogtreecommitdiffstats
path: root/Tests/Auth/Yadis/Discover_Yadis.php
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/Auth/Yadis/Discover_Yadis.php')
-rw-r--r--Tests/Auth/Yadis/Discover_Yadis.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/Tests/Auth/Yadis/Discover_Yadis.php b/Tests/Auth/Yadis/Discover_Yadis.php
index 0ca3b2e..4a486a8 100644
--- a/Tests/Auth/Yadis/Discover_Yadis.php
+++ b/Tests/Auth/Yadis/Discover_Yadis.php
@@ -26,7 +26,7 @@ function mkResponse($data)
return $r;
}
class TestFetcher {
- function TestFetcher($base_url)
+ function __construct($base_url)
{
$this->base_url = $base_url;
}
@@ -73,7 +73,7 @@ class NoContentTypeFetcher {
}
class MockFetcher {
- function MockFetcher() {
+ function __construct() {
$this->count = 0;
}
@@ -103,7 +103,7 @@ class TestSecondGet extends PHPUnit_Framework_TestCase {
class _TestCase extends PHPUnit_Framework_TestCase {
var $base_url = 'http://invalid.unittest/';
- function _TestCase($input_name, $id_name, $result_name, $success)
+ function __construct($input_name, $id_name, $result_name, $success)
{
parent::__construct();
$this->input_name = $input_name;
@@ -169,7 +169,7 @@ class Tests_Auth_Yadis_Discover_Yadis extends PHPUnit_Framework_TestSuite {
return "Tests_Auth_Yadis_Discover_Yadis";
}
- function Tests_Auth_Yadis_Discover_Yadis()
+ function __construct()
{
global $testlist;