stable

Clone or download

Read-only

chore: Move stubs in the correct folders

No functional change. CI should be happy. Notes: It's better to have "Tests" in the namespace of stubs, as they are meant to be used only for unit tests and should never be used for production code. Hence, the rename of the Git stub namespace. Some stubs in Core also were in the wrong folder, which also made them skip Psalm validation. part of story #32316 Update comments Change-Id: I1f09c378953411ed4ad7b6621dc0f36147803aa5

Modified Files

Name
M plugins/git/tests/integration/GitXmlImporterTest.php +2 −2 Go to diff View file
M plugins/git/tests/unit/DefaultBranch/DefaultBranchPostReceiveUpdaterTest.php +3 −2 Go to diff View file
M plugins/git/tests/unit/DefaultBranch/DefaultBranchUpdaterTest.php +3 −2 Go to diff View file
M plugins/git/tests/unit/GitBackendGitoliteUserAccessRightsTest.php +2 −2 Go to diff View file
M plugins/git/tests/unit/GitGerritRouteTest.php +1 −1 Go to diff View file
M plugins/git/tests/unit/GitRepositoryImplTest.php +2 −2 Go to diff View file
M plugins/git/tests/unit/Git_Backend_GitoliteAccessURLTest.php +5 −5 Go to diff View file
M plugins/git/tests/unit/Git_Backend_GitoliteTest.php +5 −5 Go to diff View file
M plugins/git/tests/unit/Hook/Asynchronous/AsynchronousEventHandlerTest.php +5 −5 Go to diff View file
M plugins/git/tests/unit/Hook/Asynchronous/DefaultBranchPushParserTest.php +1 −1 Go to diff View file
M plugins/git/tests/unit/Hook/DefaultBranchPush/DefaultBranchPushProcessorTest.php +3 −3 Go to diff View file
M plugins/git/tests/unit/Hook/DefaultBranchPush/PushAnalyzerTest.php +1 −1 Go to diff View file
M plugins/git/tests/unit/Hook/PostReceiveTest.php +1 −1 Go to diff View file
M plugins/git/tests/unit/SystemEvents/SystemEvent_GIT_REPO_UPDATETest.php +15 −12 Go to diff View file
R plugins/git/tests/unit/Stub/BuildDefaultBranchPushProcessorStub.php Go to diff View file
R plugins/git/tests/unit/DefaultBranch/DefaultBranchUpdateTestExecutor.php Go to diff View file
R plugins/git/tests/unit/Stub/Hook/Asynchronous/RetrieveGitRepositoryStub.php Go to diff View file
R plugins/git/tests/unit/Stub/RetrieveAuthorStub.php Go to diff View file
R plugins/git/tests/unit/Stub/RetrieveCommitMessageStub.php Go to diff View file
R plugins/git/tests/unit/Stub/RetrieveGitRepositoryStub.php Go to diff View file
R plugins/git/tests/unit/Stub/VerifyArtifactClosureIsAllowedStub.php Go to diff View file
R plugins/git/tests/unit/Stub/VerifyIsDefaultBranchStub.php Go to diff View file
R plugins/git/tests/unit/Stub/VerifyUserIsGitAdministratorStub.php Go to diff View file
M plugins/gitlab/tests/unit/Group/GroupLinkSynchronizerTest.php +1 −1 Go to diff View file
M plugins/gitlab/tests/unit/Group/GroupLinkUpdateHandlerTest.php +1 −1 Go to diff View file
M plugins/gitlab/tests/unit/Group/GroupUnlinkHandlerTest.php +1 −1 Go to diff View file
M plugins/gitlab/tests/unit/Permission/GitAdministratorCheckerTest.php +1 −1 Go to diff View file
M plugins/pullrequest/tests/unit/REST/v1/PullRequestWithGitReferenceRetrieverTest.php +1 −1 Go to diff View file
R tests/unit/tests/Stubs/ContentInterpretorStub.php Go to diff View file
R tests/unit/tests/Stubs/Project/Service/ListOfAllowedServicesForProjectRetrieverStub.php Go to diff View file