stable
Clone or download
Read-only
This is mostly done as a way to give a reference in the codebase of PHPUnit mock usages. The plugin has been removed from Psalm analysis because Psalm is now capable to do a correct analysis which result in a lot of errors unrelated to this contribution. They will fixed as part of request #20106. Part of request #21326: Favor PHPUnit mock system over Mockery Change-Id: I89525ae1f149c31eed4c9261e115e05561902a74
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/oauth2_server/tests/unit/AccessToken/OAuth2AccessTokenCreatorTest.php | +10 | −13 | Go to diff View file |
M | plugins/oauth2_server/tests/unit/AccessToken/OAuth2AccessTokenRevokerTest.php | +23 | −34 | Go to diff View file |
M | plugins/oauth2_server/tests/unit/AccessToken/OAuth2AccessTokenVerifierTest.php | +27 | −30 | Go to diff View file |
M | plugins/oauth2_server/tests/unit/Administration/AddAppControllerTest.php | +26 | −37 | Go to diff View file |
M | plugins/oauth2_server/tests/unit/Administration/AdminOAuth2AppsPresenterBuilderTest.php | +14 | −21 | Go to diff View file |
M | plugins/oauth2_server/tests/unit/Administration/DeleteAppControllerTest.php | +25 | −42 | Go to diff View file |
M | plugins/oauth2_server/tests/unit/Administration/EditAppControllerTest.php | +20 | −27 | Go to diff View file |
M | plugins/oauth2_server/tests/unit/Administration/NewClientSecretControllerTest.php | +19 | −32 | Go to diff View file |
M | plugins/oauth2_server/tests/unit/Administration/OAuth2AppProjectVerifierTest.php | +5 | −8 | Go to diff View file |
M | plugins/oauth2_server/tests/unit/Administration/ProjectAdmin/ListAppsControllerTest.php | +16 | −29 | Go to diff View file |
M | plugins/oauth2_server/tests/unit/Administration/SiteAdmin/SiteAdminListAppsControllerTest.php | +21 | −26 | Go to diff View file |
M | plugins/oauth2_server/tests/unit/App/AppFactoryTest.php | +41 | −49 | Go to diff View file |
M | plugins/oauth2_server/tests/unit/App/ClientSecretUpdaterTest.php | +8 | −15 | Go to diff View file |
M | plugins/oauth2_server/tests/unit/App/NewOAuth2AppTest.php | +6 | −9 | Go to diff View file |
M | plugins/oauth2_server/tests/unit/App/OAuth2AppCredentialVerifierTest.php | +20 | −24 | Go to diff View file |
M | plugins/oauth2_server/tests/unit/App/OAuth2AppRemoverTest.php | +6 | −9 | Go to diff View file |
M | plugins/oauth2_server/tests/unit/App/OAuth2AppTest.php | +3 | −6 | Go to diff View file |
M | plugins/oauth2_server/tests/unit/AuthorizationServer/AuthorizationCodeResponseFactoryTest.php | +12 | −16 | Go to diff View file |
M | plugins/oauth2_server/tests/unit/AuthorizationServer/AuthorizationEndpointControllerTest.php | +127 | −169 | Go to diff View file |
M | plugins/oauth2_server/tests/unit/AuthorizationServer/AuthorizationEndpointProcessConsentControllerTest.php | +47 | −52 | Go to diff View file |
M | plugins/oauth2_server/tests/unit/AuthorizationServer/AuthorizationFormPresenterBuilderTest.php | +7 | −11 | Go to diff View file |
M | plugins/oauth2_server/tests/unit/AuthorizationServer/AuthorizationFormRendererTest.php | +7 | −11 | Go to diff View file |
M | plugins/oauth2_server/tests/unit/Grant/AccessTokenGrantControllerTest.php | +23 | −25 | Go to diff View file |
M | plugins/oauth2_server/tests/unit/Grant/AccessTokenGrantRepresentationBuilderTest.php | +12 | −15 | Go to diff View file |
M | plugins/oauth2_server/tests/unit/Grant/AuthorizationCode/OAuth2AuthorizationCodeCreatorTest.php | +12 | −15 | Go to diff View file |
M | plugins/oauth2_server/tests/unit/Grant/AuthorizationCode/OAuth2AuthorizationCodeRevokerTest.php | +2 | −8 | Go to diff View file |
M | plugins/oauth2_server/tests/unit/Grant/AuthorizationCode/OAuth2AuthorizationCodeVerifierTest.php | +32 | −35 | Go to diff View file |
M | plugins/oauth2_server/tests/unit/Grant/AuthorizationCode/OAuth2GrantAccessTokenFromAuthorizationCodeTest.php | +32 | −34 | Go to diff View file |
M | plugins/oauth2_server/tests/unit/Grant/OAuth2ClientAuthenticationMiddlewareTest.php | +13 | −15 | Go to diff View file |
M | plugins/oauth2_server/tests/unit/Grant/RefreshToken/OAuth2GrantAccessTokenFromRefreshTokenTest.php | +23 | −26 | Go to diff View file |
M | plugins/oauth2_server/tests/unit/Grant/TokenRevocationControllerTest.php | +25 | −35 | Go to diff View file |
M | plugins/oauth2_server/tests/unit/OpenIDConnect/Discovery/ConfigurationResponseRepresentationBuilderTest.php | +7 | −11 | Go to diff View file |
M | plugins/oauth2_server/tests/unit/OpenIDConnect/Discovery/DiscoveryControllerTest.php | +5 | −9 | Go to diff View file |
M | plugins/oauth2_server/tests/unit/OpenIDConnect/IDToken/OpenIDConnectIDTokenCreatorTest.php | +5 | −7 | Go to diff View file |
M | plugins/oauth2_server/tests/unit/OpenIDConnect/IDToken/OpenIDConnectSigningKeyFactoryTest.php | +10 | −13 | Go to diff View file |
M | plugins/oauth2_server/tests/unit/OpenIDConnect/JWK/JWKSDocumentEndpointControllerTest.php | +3 | −6 | Go to diff View file |
M | plugins/oauth2_server/tests/unit/RefreshToken/OAuth2RefreshTokenCreatorTest.php | +16 | −19 | Go to diff View file |
M | plugins/oauth2_server/tests/unit/RefreshToken/OAuth2RefreshTokenRevokerTest.php | +23 | −34 | Go to diff View file |
M | plugins/oauth2_server/tests/unit/RefreshToken/OAuth2RefreshTokenVerifierTest.php | +28 | −31 | Go to diff View file |
M | plugins/oauth2_server/tests/unit/Scope/OAuth2ScopeRetrieverTest.php | +18 | −20 | Go to diff View file |
M | plugins/oauth2_server/tests/unit/Scope/OAuth2ScopeSaverTest.php | +7 | −10 | Go to diff View file |
M | plugins/oauth2_server/tests/unit/Scope/ScopeExtractorTest.php | +16 | −27 | Go to diff View file |
M | plugins/oauth2_server/tests/unit/User/Account/AccountAppsControllerTest.php | +10 | −14 | Go to diff View file |
M | plugins/oauth2_server/tests/unit/User/Account/AppRevocationControllerTest.php | +28 | −37 | Go to diff View file |
M | plugins/oauth2_server/tests/unit/User/Account/AppsPresenterBuilderTest.php | +18 | −33 | Go to diff View file |
M | plugins/oauth2_server/tests/unit/User/Account/AppsTabAdderTest.php | +4 | −9 | Go to diff View file |
M | plugins/oauth2_server/tests/unit/User/AuthorizationComparatorTest.php | +4 | −9 | Go to diff View file |
M | plugins/oauth2_server/tests/unit/User/AuthorizationCreatorTest.php | +15 | −26 | Go to diff View file |
M | plugins/oauth2_server/tests/unit/User/AuthorizationRevokerTest.php | +10 | −15 | Go to diff View file |
M | plugins/oauth2_server/tests/unit/User/AuthorizedScopeFactoryTest.php | +14 | −23 | Go to diff View file |
M | plugins/oauth2_server/tests/unit/User/UserInfoControllerTest.php | +1 | −4 | Go to diff View file |
M | tests/psalm/psalm.xml | +0 | −2 | Go to diff View file |