summaryrefslogtreecommitdiffstats
path: root/Tests/Auth/OpenID/Server.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/OpenID/Server.php
parent924f9aa42453cd0f9dba72587b4e2cdf7f4de874 (diff)
downloadphp-openid-origin/HEAD.zip
php-openid-origin/HEAD.tar.gz
php-openid-origin/HEAD.tar.bz2
#130: PHP 7 compatibility (fixes #129)HEADorigin/masterorigin/HEADmaster
Diffstat (limited to 'Tests/Auth/OpenID/Server.php')
-rw-r--r--Tests/Auth/OpenID/Server.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/Tests/Auth/OpenID/Server.php b/Tests/Auth/OpenID/Server.php
index d5dea91..2adcd3c 100644
--- a/Tests/Auth/OpenID/Server.php
+++ b/Tests/Auth/OpenID/Server.php
@@ -1532,7 +1532,7 @@ class Tests_Auth_OpenID_CheckIDExtension extends PHPUnit_Framework_TestCase {
class _MockSignatory {
var $isValid = true;
- function _MockSignatory($assoc)
+ function __construct($assoc)
{
$this->assocs = array($assoc);
}
@@ -2019,7 +2019,7 @@ class Tests_Auth_OpenID_Associate extends PHPUnit_Framework_TestCase {
}
class Counter {
- function Counter()
+ function __construct()
{
$this->count = 0;
}
@@ -2442,7 +2442,7 @@ class Tests_Auth_OpenID_Server extends PHPUnit_Framework_TestSuite {
return "Tests_Auth_OpenID_Server";
}
- function Tests_Auth_OpenID_Server()
+ function __construct()
{
$this->addTestSuite('Tests_Auth_OpenID_Signatory');
$this->addTestSuite('Tests_Auth_OpenID_ServerTest');