summaryrefslogtreecommitdiffstats
path: root/Tests/Auth/Yadis/Discover_Yadis.php
diff options
context:
space:
mode:
authorOleksandr Zahorulia <Hast4656@gmail.com>2016-09-30 22:50:50 +0300
committerMarco Ceppi <marco@ceppi.net>2016-09-30 21:50:50 +0200
commitd8ef0dba1fa378fc22fe6d423f9423febb2d996d (patch)
tree125e225306ac315f85f6f950e6e1ac1e72f804d8 /Tests/Auth/Yadis/Discover_Yadis.php
parent924f9aa42453cd0f9dba72587b4e2cdf7f4de874 (diff)
downloadphp-openid-master.zip
php-openid-master.tar.gz
php-openid-master.tar.bz2
#130: PHP 7 compatibility (fixes #129)HEADorigin/masterorigin/HEADmaster
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;