From 009b45a866abe32de1343485e2adf2f5562a3e9a Mon Sep 17 00:00:00 2001 From: Gabriel Caruso Date: Thu, 2 Nov 2017 15:57:38 -0200 Subject: [PATCH 1/2] Updated to PHPUnit 6 --- composer.json | 2 +- tests/AccessTokenControllerTest.php | 3 ++- tests/ApiTokenCookieFactoryTest.php | 3 ++- tests/ApproveAuthorizationControllerTest.php | 3 ++- tests/AuthorizationControllerTest.php | 3 ++- tests/AuthorizedAccessTokenControllerTest.php | 3 ++- tests/BridgeAccessTokenRepositoryTest.php | 3 ++- tests/BridgeClientRepositoryTest.php | 3 ++- tests/BridgeScopeRepositoryTest.php | 3 ++- tests/CheckClientCredentialsTest.php | 3 ++- tests/CheckForAnyScopeTest.php | 3 ++- tests/CheckScopesTest.php | 3 ++- tests/ClientControllerTest.php | 3 ++- tests/DenyAuthorizationControllerTest.php | 3 ++- tests/HasApiTokensTest.php | 3 ++- tests/KeysCommandTest.php | 4 +++- tests/PassportTest.php | 3 ++- tests/PersonalAccessTokenControllerTest.php | 3 ++- tests/PersonalAccessTokenFactoryTest.php | 4 +++- tests/ScopeTest.php | 4 +++- tests/TokenGuardTest.php | 3 ++- tests/TokenTest.php | 4 +++- tests/TransientTokenControllerTest.php | 3 ++- tests/TransientTokenTest.php | 4 +++- 24 files changed, 52 insertions(+), 24 deletions(-) diff --git a/composer.json b/composer.json index 91bacc6f0..5e86dca5f 100644 --- a/composer.json +++ b/composer.json @@ -32,7 +32,7 @@ }, "require-dev": { "mockery/mockery": "~0.9", - "phpunit/phpunit": "~5.0" + "phpunit/phpunit": "~6.0" }, "autoload": { "psr-4": { diff --git a/tests/AccessTokenControllerTest.php b/tests/AccessTokenControllerTest.php index 62fae95c1..1a0168443 100644 --- a/tests/AccessTokenControllerTest.php +++ b/tests/AccessTokenControllerTest.php @@ -1,9 +1,10 @@ Date: Thu, 2 Nov 2017 16:41:17 -0200 Subject: [PATCH 2/2] Use beStrictAboutTestsThatDoNotTestAnything in phpunit.xml --- phpunit.xml.dist | 1 + 1 file changed, 1 insertion(+) diff --git a/phpunit.xml.dist b/phpunit.xml.dist index d1c112e84..8a3a6251f 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,6 +1,7 @@