stable

Clone or download

Read-only

GlobalLanguageMock helper uses PHPUnit mock system instead of Mockery

Part of request #21326: Favor PHPUnit mock system over Mockery Change-Id: I94870eae475caa175dabc51cb78fdbc97a7c38e1

Modified Files

Name
M plugins/agiledashboard/tests/unit/Planning/Planning_ArtifactParentsSelectorEventListenerTest.php +3 −3 Go to diff View file
M plugins/git/tests/unit/Git/Reference/CrossReferenceGitEnhancerTest.php +2 −2 Go to diff View file
M plugins/git/tests/unit/GitActionsTest.php +6 −4 Go to diff View file
M plugins/git/tests/unit/GitXMLExporterTest.php +1 −3 Go to diff View file
M plugins/gitlab/tests/unit/Reference/Commit/GitlabCommitCrossReferenceEnhancerTest.php +2 −2 Go to diff View file
M plugins/gitlab/tests/unit/Reference/GitlabCrossReferenceOrganizerTest.php +2 −2 Go to diff View file
M plugins/pullrequest/tests/unit/PullRequest/Reference/CrossReferencePullRequestOrganizerTest.php +2 −2 Go to diff View file
M plugins/tracker/tests/unit/Artifact/Changeset/Comment/CommentPresenterTest.php +2 −2 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Admin/GlobalAdmin/Trackers/MarkTrackerAsDeletedControllerTest.php +3 −3 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Artifact/Changeset/Comment/CommentPresenterBuilderTest.php +2 −2 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Artifact/XMLImport/XMLImportFieldStrategyListTest.php +1 −1 Go to diff View file
M plugins/tracker/tests/unit/Tracker/FormElement/TrackerFormElementUserPermissionsTest.php +5 −6 Go to diff View file
M plugins/tracker/tests/unit/Tracker/MasschangeDataValueExtractorTest.php +1 −1 Go to diff View file
M plugins/tracker/tests/unit/Tracker_Artifact_ChangesetJsonFormatterTest.php +2 −2 Go to diff View file
M plugins/tracker/tests/unit/Workflow/PostAction/Field/Transition_PostAction_Field_DateTest.php +1 −1 Go to diff View file
M tests/lib/GlobalLanguageMock.php +9 −5 Go to diff View file
M tests/unit/common/Date/TlpRelativeDatePresenterBuilderTest.php +2 −2 Go to diff View file
M tests/unit/common/Include/UrlVerification/URLVerificationPermissionsOverriderAnonymousPlatformTest.php +1 −1 Go to diff View file
M tests/unit/common/Include/UrlVerification/URLVerificationPermissionsOverriderRegularPlatformTest.php +1 −1 Go to diff View file
M tests/unit/common/Include/UrlVerification/URLVerificationPermissionsOverriderRestrictedPlatformTest.php +1 −1 Go to diff View file
M tests/unit/common/Project/Admin/PermissionsPerGroup/PermissionPerGroupBuilderTest.php +1 −1 Go to diff View file
M tests/unit/common/Project/Admin/ProjectUGroup/UGroupListPresenterBuilderTest.php +1 −1 Go to diff View file
M tests/unit/common/Project/Service/IndexControllerTest.php +1 −1 Go to diff View file
M tests/unit/common/Project/UGroupBindingTest.php +2 −3 Go to diff View file
M tests/unit/common/Project/UGroupGetsNameTest.php +7 −7 Go to diff View file
M tests/unit/common/Project/UGroups/Binding/BoundUGroupRefresherTest.php +2 −2 Go to diff View file
M tests/unit/common/Reference/ByNature/ConcurrentVersionsSystem/CrossReferenceCvsOrganizerTest.php +2 −2 Go to diff View file
M tests/unit/common/Reference/ReferenceDescriptionTranslationTest.php +5 −5 Go to diff View file
M tests/unit/common/User/Account/DisplayAppearanceControllerTest.php +1 −1 Go to diff View file
M tests/unit/common/date/helper/DateHelperTest.php +19 −19 Go to diff View file
M tests/unit/common/valid/Rule_FileTest.php +10 −10 Go to diff View file
M tests/unit/common/valid/Rule_ProjectFullNameTest.php +14 −8 Go to diff View file
M tests/unit/common/valid/Rule_ProjectNameTest.php +51 −35 Go to diff View file
M tests/unit/common/valid/Rule_UserNameTest.php +38 −38 Go to diff View file