diff options
author | Oleksandr Zahorulia <Hast4656@gmail.com> | 2016-09-30 22:50:50 +0300 |
---|---|---|
committer | Marco Ceppi <marco@ceppi.net> | 2016-09-30 21:50:50 +0200 |
commit | d8ef0dba1fa378fc22fe6d423f9423febb2d996d (patch) | |
tree | 125e225306ac315f85f6f950e6e1ac1e72f804d8 /Tests/Auth/OpenID/RPVerify.php | |
parent | 924f9aa42453cd0f9dba72587b4e2cdf7f4de874 (diff) | |
download | php-openid-d8ef0dba1fa378fc22fe6d423f9423febb2d996d.zip php-openid-d8ef0dba1fa378fc22fe6d423f9423febb2d996d.tar.gz php-openid-d8ef0dba1fa378fc22fe6d423f9423febb2d996d.tar.bz2 |
#130: PHP 7 compatibility (fixes #129)HEADorigin/masterorigin/HEADmaster
Diffstat (limited to 'Tests/Auth/OpenID/RPVerify.php')
-rw-r--r-- | Tests/Auth/OpenID/RPVerify.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Tests/Auth/OpenID/RPVerify.php b/Tests/Auth/OpenID/RPVerify.php index 1482af4..50b2d93 100644 --- a/Tests/Auth/OpenID/RPVerify.php +++ b/Tests/Auth/OpenID/RPVerify.php @@ -45,7 +45,7 @@ class Tests_Auth_OpenID_BuildDiscoveryURL extends PHPUnit_Framework_TestCase { } class _MockDiscover { - function _MockDiscover($data) { + function __construct($data) { $this->data =& $data; } @@ -219,7 +219,7 @@ class Tests_Auth_OpenID_ReturnToMatches extends PHPUnit_Framework_TestCase { } class Verifier { - function Verifier($test_case, $return_to) + function __construct($test_case, $return_to) { $this->tc =& $test_case; $this->return_to = $return_to; @@ -281,7 +281,7 @@ class Tests_Auth_OpenID_RPVerify extends PHPUnit_Framework_TestSuite { return "Tests_Auth_OpenID_RPVerify"; } - function Tests_Auth_OpenID_RPVerify() + function __construct() { $this->addTestSuite('Tests_Auth_OpenID_VerifyReturnTo'); $this->addTestSuite('Tests_Auth_OpenID_ReturnToMatches'); |