From c38a9e731ab1409d0624b1a4d4d10420397c255b Mon Sep 17 00:00:00 2001 From: Maks3w Date: Sat, 4 Jan 2014 11:20:23 +0100 Subject: [PATCH 1/2] [psr0] Match class name with filename --- test/Adapter/Http/ApacheResolverTest.php | 2 +- test/Adapter/Http/FileResolverTest.php | 2 +- test/Adapter/TestAsset/OpenIdResponseHelper.php | 2 +- test/Validator/AuthenticationTest.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/Adapter/Http/ApacheResolverTest.php b/test/Adapter/Http/ApacheResolverTest.php index 1a3d0e8..d07e05c 100644 --- a/test/Adapter/Http/ApacheResolverTest.php +++ b/test/Adapter/Http/ApacheResolverTest.php @@ -15,7 +15,7 @@ /** * @group Zend_Auth */ -class ApacheTest extends \PHPUnit_Framework_TestCase +class ApacheResolverTest extends \PHPUnit_Framework_TestCase { /** * Path to test files diff --git a/test/Adapter/Http/FileResolverTest.php b/test/Adapter/Http/FileResolverTest.php index cbe0168..5c1bf9b 100644 --- a/test/Adapter/Http/FileResolverTest.php +++ b/test/Adapter/Http/FileResolverTest.php @@ -14,7 +14,7 @@ /** * @group Zend_Auth */ -class FileTest extends \PHPUnit_Framework_TestCase +class FileResolverTest extends \PHPUnit_Framework_TestCase { /** * Path to test files diff --git a/test/Adapter/TestAsset/OpenIdResponseHelper.php b/test/Adapter/TestAsset/OpenIdResponseHelper.php index 34524df..e97a8d1 100644 --- a/test/Adapter/TestAsset/OpenIdResponseHelper.php +++ b/test/Adapter/TestAsset/OpenIdResponseHelper.php @@ -14,7 +14,7 @@ OpenId::$exitOnRedirect = false; -class ResponseHelper extends Response +class OpenIdResponseHelper extends Response { private $_canSendHeaders; diff --git a/test/Validator/AuthenticationTest.php b/test/Validator/AuthenticationTest.php index fc6ab6b..a283b65 100644 --- a/test/Validator/AuthenticationTest.php +++ b/test/Validator/AuthenticationTest.php @@ -17,7 +17,7 @@ /** * @group Zend_Validator */ -class AthenticationTest extends \PHPUnit_Framework_TestCase +class AuthenticationTest extends \PHPUnit_Framework_TestCase { protected $validator; From 50231750b939de866552dffc38d129589599f03b Mon Sep 17 00:00:00 2001 From: Maks3w Date: Sat, 4 Jan 2014 12:34:45 +0100 Subject: [PATCH 2/2] [psr0] Fix namespaces --- test/Validator/AuthenticationTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Validator/AuthenticationTest.php b/test/Validator/AuthenticationTest.php index a283b65..211d2b5 100644 --- a/test/Validator/AuthenticationTest.php +++ b/test/Validator/AuthenticationTest.php @@ -7,7 +7,7 @@ * @license http://framework.zend.com/license/new-bsd New BSD License */ -namespace ZendTest\Validator; +namespace ZendTest\Authentication\Validator; use Zend\Authentication\Validator\Authentication as AuthenticationValidator; use Zend\Authentication\AuthenticationService;