stable

Clone or download

Read-only

chore: run psalm on unit tests without Mockery

This is part of request #21775 Favor PHPUnit mock system over Mockery - part 2 * plugins/gitlfs/ * plugins/velocity/ * plugins/openidconnectclient/ the file plugins/openidconnectclient/tests/unit/Authentication/IDTokenVerifierTest.php is explicitly ignored beacause I don't know to deal with the following psalm error on an anonymous class: "has missing template params" Change-Id: I3cfe01d5d2ba6454a479c1d9a520d8a3e76462c5

Modified Files

Name
M plugins/gitlfs/tests/unit/Authorization/Action/ActionAuthorizationVerifierTest.php +24 −22 Go to diff View file
M plugins/gitlfs/tests/unit/Authorization/LFSAuthorizationTokenHeaderSerializerTest.php +6 −4 Go to diff View file
M plugins/gitlfs/tests/unit/Authorization/User/Operation/UserOperationFactoryTest.php +4 −3 Go to diff View file
M plugins/gitlfs/tests/unit/HTTP/LFSAPIHTTPAccessControlTest.php +30 −29 Go to diff View file
M plugins/gitlfs/tests/unit/Lock/Request/LockCreateRequestTest.php +8 −6 Go to diff View file
M plugins/gitlfs/tests/unit/Lock/Request/LockDeleteRequestTest.php +13 −10 Go to diff View file
M plugins/gitlfs/tests/unit/Lock/Request/LockListRequestTest.php +10 −8 Go to diff View file
M plugins/gitlfs/tests/unit/Lock/Request/LockVerifyRequestTest.php +11 −8 Go to diff View file
M plugins/gitlfs/tests/unit/SSHAuthenticate/SSHAuthenticateResponseBuilderTest.php +8 −8 Go to diff View file
M plugins/gitlfs/tests/unit/SSHAuthenticate/SSHAuthenticateTest.php +21 −21 Go to diff View file
M plugins/gitlfs/tests/unit/StreamFilter/FilterHandleTest.php +7 −6 Go to diff View file
M plugins/gitlfs/tests/unit/StreamFilter/ReplaceDataFilter.php +8 −9 Go to diff View file
M plugins/gitlfs/tests/unit/StreamFilter/StreamFilterWrapperTest.php +7 −3 Go to diff View file
M plugins/gitlfs/tests/unit/Transfer/Basic/BlockToMaxSizeOnReadFilterTest.php +10 −8 Go to diff View file
M plugins/gitlfs/tests/unit/Transfer/Basic/LFSBasicTransferObjectSaverTest.php +22 −11 Go to diff View file
M plugins/gitlfs/tests/unit/Transfer/Basic/SHA256ComputeOnReadFilterTest.php +8 −6 Go to diff View file
M plugins/gitlfs/tests/unit/Transfer/LFSActionUserAccessHTTPRequestCheckerTest.php +23 −23 Go to diff View file
M plugins/openidconnectclient/tests/unit/AccountLinker/ControllerTest.php +24 −20 Go to diff View file
M plugins/openidconnectclient/tests/unit/Authentication/Authorization/AuthorizationRequestCreatorTest.php +13 −12 Go to diff View file
M plugins/openidconnectclient/tests/unit/Authentication/Authorization/AuthorizationResponseTest.php +7 −5 Go to diff View file
M plugins/openidconnectclient/tests/unit/Authentication/StateStorageTest.php +8 −5 Go to diff View file
M plugins/openidconnectclient/tests/unit/Authentication/Token/TokenResponseTest.php +8 −6 Go to diff View file
M plugins/openidconnectclient/tests/unit/Authentication/UserInfo/UserInfoRequestCreatorTest.php +4 −2 Go to diff View file
M plugins/openidconnectclient/tests/unit/Authentication/UserInfo/UserInfoResponseTest.php +8 −6 Go to diff View file
M plugins/openidconnectclient/tests/unit/Login/Registration/AutomaticUserRegistrationTest.php +3 −1 Go to diff View file
M plugins/openidconnectclient/tests/unit/Login/Registration/UsernameGeneratorTest.php +8 −8 Go to diff View file
M plugins/openidconnectclient/tests/unit/Provider/AzureADProviderManagerTest.php +1 −1 Go to diff View file
M plugins/openidconnectclient/tests/unit/Provider/GenericProviderManagerTest.php +10 −5 Go to diff View file
M plugins/velocity/tests/unit/Velocity/JiraImporter/AddVelocityToScrumTemplateTest.php +16 −10 Go to diff View file
M plugins/velocity/tests/unit/Velocity/Semantic/BacklogRequiredTrackerCollectionTest.php +31 −29 Go to diff View file
M plugins/velocity/tests/unit/Velocity/Semantic/VelocitySemanticCheckerTest.php +15 −13 Go to diff View file
M plugins/velocity/tests/unit/Velocity/VelocityCalculatorTest.php +18 −19 Go to diff View file
M plugins/velocity/tests/unit/Velocity/VelocityComputationCheckerTest.php +41 −27 Go to diff View file
M plugins/velocity/tests/unit/Velocity/VelocityPluginComputationTest.php +21 −7 Go to diff View file
M plugins/velocity/tests/unit/Velocity/VelocityRepresentationBuilderTest.php +22 −20 Go to diff View file
M tests/psalm/psalm.xml +1 −3 Go to diff View file