stable
Clone or download
Unit tests can not be moved to PHPUnit 8 due to the incompatibility of mockery/mockery. The main changes are the addition of a return type on some PHPUnit methods and the deprecations of the annotations @expectedException... The update has highlighted a few issues in the REST tests. For a lot of tests the status code of the response was not verified due to the thrown exception, we had a lot of dead code. In order to solve that, the HTTP client does not throw exception on errors anymore. This change will also help to a future upgrade to a PSR-18 HTTP client. Two REST tests has been found has broken, they must be fixed in dedicated contributions: * TrackersTests::testGetDeletedTrackerReturnsError * DocmanItemsTest::testPostReturns403WhenPermissionDenied Our custom assertions are not compatible with PHPUnit 8, they has been removed since the same thing could be achieved without the custom assertions and without more code duplication. This is part of request #12959: Bump to PHPUnit 8 Change-Id: Ibc3605978cbc94aeddde28b61795b6efccdee04f
Modified Files
Name | ||||
---|---|---|---|---|
M | .gitignore | +1 | −0 | Go to diff View file |
M | plugins/admindelegation/phpunit/AdminDelegation_UserServiceTest.php | +1 | −1 | Go to diff View file |
M | plugins/agiledashboard/phpunit/AgileDashboard/BacklogItem/RemainingEffortValueRetrieverTest.php | +2 | −2 | Go to diff View file |
M | plugins/agiledashboard/phpunit/AgileDashboard/FormElement/BurnupCalculatorTest.php | +1 | −1 | Go to diff View file |
M | plugins/agiledashboard/phpunit/AgileDashboard/Planning/MilestoneControllerTest.php | +2 | −2 | Go to diff View file |
M | plugins/agiledashboard/phpunit/AgileDashboard/Semantic/MoveChangesetXMLUpdaterTest.php | +1 | −1 | Go to diff View file |
M | plugins/agiledashboard/phpunit/AgileDashboard/Semantic/MoveSemanticInitialEffortCheckerTest.php | +1 | −1 | Go to diff View file |
M | plugins/agiledashboard/phpunit/AgileDashboard/Semantic/SemanticDoneValueCheckerTest.php | +1 | −1 | Go to diff View file |
M | plugins/agiledashboard/phpunit/AgileDashboard/Widget/WidgetKanbanXMLImporterTest.php | +8 | −12 | Go to diff View file |
M | plugins/agiledashboard/tests/rest/ArtifactBase.php | +1 | −1 | Go to diff View file |
M | plugins/agiledashboard/tests/rest/KanbanTest.php | +1 | −9 | Go to diff View file |
M | plugins/agiledashboard/tests/rest/TestBase.php | +1 | −1 | Go to diff View file |
M | plugins/archivedeleteditems/phpunit/FileCopierTest.php | +1 | −1 | Go to diff View file |
M | plugins/bugzilla_reference/phpunit/Bugzilla/CrossReferenceCreatorTest.php | +1 | −1 | Go to diff View file |
M | plugins/captcha/phpunit/ConfigurationRetrieverTest.php | +1 | −3 | Go to diff View file |
M | plugins/captcha/phpunit/ConfigurationSaverTest.php | +4 | −6 | Go to diff View file |
M | plugins/cardwall/phpunit/Cardwall/AccentColor/AccentColorBuilderTest.php | +1 | −1 | Go to diff View file |
M | plugins/cardwall/phpunit/Cardwall/AllowedFieldRetrieverTest.php | +1 | −1 | Go to diff View file |
M | plugins/cardwall/phpunit/Cardwall/BackgroundColor/BackgroundColorBuilderTest.php | +1 | −1 | Go to diff View file |
M | plugins/cardwall/phpunit/Cardwall/OnTop/Config/ColumnFactoryTest.php | +1 | −1 | Go to diff View file |
M | plugins/cardwall/phpunit/Cardwall/Semantic/CardFieldXmlExporterTest.php | +1 | −1 | Go to diff View file |
M | plugins/cardwall/phpunit/Cardwall/Semantic/CardFieldXmlExtractorTest.php | +2 | −2 | Go to diff View file |
M | plugins/cardwall/phpunit/Cardwall/Semantic/CardFieldsTrackerPresenterBuilderTest.php | +1 | −1 | Go to diff View file |
M | plugins/cardwall/phpunit/Cardwall/Semantic/FieldUsedInSemanticObjectCheckerTest.php | +1 | −1 | Go to diff View file |
M | plugins/create_test_env/phpunit/CreateTestEnv/CreateTestProjectTest.php | +2 | −2 | Go to diff View file |
M | plugins/create_test_env/tests/rest/CreateTestEnvResourceTest.php | +22 | −28 | Go to diff View file |
M | plugins/crosstracker/phpunit/CrossTracker/CrossTrackerReportFactoryTest.php | +1 | −1 | Go to diff View file |
M | plugins/crosstracker/phpunit/CrossTracker/REST/v1/CrossTrackerReportExtractorTest.php | +1 | −1 | Go to diff View file |
M | plugins/crosstracker/phpunit/CrossTracker/Report/CSV/CSVRepresentationBuilderTest.php | +1 | −1 | Go to diff View file |
M | plugins/crosstracker/phpunit/CrossTracker/Report/CSV/CSVRepresentationTest.php | +1 | −1 | Go to diff View file |
M | plugins/crosstracker/phpunit/CrossTracker/Report/CSV/Format/BindToValueVisitorTest.php | +1 | −1 | Go to diff View file |
M | plugins/crosstracker/phpunit/CrossTracker/Report/CSV/Format/CSVFormatterVisitorTest.php | +1 | −1 | Go to diff View file |
M | plugins/crosstracker/phpunit/CrossTracker/Report/CSV/SimilarFieldsFormatterTest.php | +1 | −1 | Go to diff View file |
M | plugins/crosstracker/phpunit/CrossTracker/Report/Query/Advanced/InvalidSemantic/MetadataUsageCheckerTest.php | +1 | −1 | Go to diff View file |
M | plugins/crosstracker/phpunit/CrossTracker/Report/Query/Advanced/QueryValidation/Comparison/ListValueValidatorTest.php | +1 | −1 | Go to diff View file |
M | plugins/crosstracker/phpunit/CrossTracker/Report/SimilarField/FieldUsedInSupportedSemanticsVisitorTest.php | +1 | −1 | Go to diff View file |
M | plugins/crosstracker/phpunit/CrossTracker/Report/SimilarField/SimilarFieldsFilterTest.php | +2 | −2 | Go to diff View file |
M | plugins/crosstracker/phpunit/CrossTracker/Report/SimilarField/SimilarFieldsMatcherTest.php | +1 | −1 | Go to diff View file |
M | plugins/crosstracker/phpunit/CrossTracker/Widget/WidgetPermissionCheckerTest.php | +1 | −1 | Go to diff View file |
M | plugins/crosstracker/tests/rest/CrossTracker/CrossTrackerTest.php | +1 | −1 | Go to diff View file |
M | plugins/crosstracker/tests/rest/CrossTracker/CrossTrackerTestExpertQueryTest.php | +1 | −1 | Go to diff View file |
M | plugins/crosstracker/tests/rest/CrossTracker/CrossTrackerTestNonRegressionTrackerTest.php | +1 | −31 | Go to diff View file |
M | plugins/docman/phpunit/ExternalLinks/ExternalLinkRedirectorTest.php | +1 | −1 | Go to diff View file |
M | plugins/docman/phpunit/REST/v1/DocmanItemCreatorTest.php | +17 | −21 | Go to diff View file |
M | plugins/docman/phpunit/REST/v1/ItemRepresentationCollectionBuilderTest.php | +1 | −1 | Go to diff View file |
M | plugins/docman/phpunit/Tus/TusServerTest.php | +1 | −1 | Go to diff View file |
M | plugins/docman/phpunit/Upload/DocumentBeingUploadedLockerTest.php | +2 | −2 | Go to diff View file |
M | plugins/docman/phpunit/Upload/DocumentBeingUploadedWriterTest.php | +2 | −3 | Go to diff View file |
M | plugins/docman/phpunit/Upload/DocumentToUploadCreatorTest.php | +8 | −11 | Go to diff View file |
M | plugins/docman/phpunit/Upload/DocumentUploadCleanerTest.php | +2 | −11 | Go to diff View file |
M | plugins/docman/phpunit/Upload/DocumentUploadFinisherTest.php | +1 | −1 | Go to diff View file |
M | plugins/docman/phpunit/view/DocumentFooterPresenterBuilderTest.php | +1 | −1 | Go to diff View file |
M | plugins/docman/tests/rest/Docman/DocmanItemsTest.php | +21 | −24 | Go to diff View file |
M | plugins/docman/tests/rest/DocmanBase.php | +1 | −1 | Go to diff View file |
M | plugins/docman/tests/soap/DocmanTest.php | +4 | −2 | Go to diff View file |
M | plugins/dynamic_credentials/phpunit/Credential/CredentialCreatorTest.php | +3 | −3 | Go to diff View file |
M | plugins/dynamic_credentials/phpunit/Credential/CredentialIdentifierExtractorTest.php | +3 | −1 | Go to diff View file |
M | plugins/dynamic_credentials/phpunit/Credential/CredentialRetrieverTest.php | +10 | −15 | Go to diff View file |
M | plugins/dynamic_credentials/phpunit/REST/RequestSignatureVerifierTest.php | +5 | −5 | Go to diff View file |
M | plugins/dynamic_credentials/phpunit/Session/DynamicCredentialSessionTest.php | +5 | −6 | Go to diff View file |
M | plugins/dynamic_credentials/phpunit/User/DynamicUserCreatorTest.php | +6 | −4 | Go to diff View file |
M | plugins/dynamic_credentials/phpunit/User/DynamicUserTest.php | +2 | −2 | Go to diff View file |
M | plugins/dynamic_credentials/tests/rest/DynamicCredentialsTest.php | +24 | −42 | Go to diff View file |
M | plugins/frs/tests/rest/FRS/FileTest.php | +1 | −1 | Go to diff View file |
M | plugins/frs/tests/rest/FRS/PackagesTest.php | +1 | −1 | Go to diff View file |
M | plugins/frs/tests/rest/FRS/ReleaseTest.php | +1 | −1 | Go to diff View file |
M | plugins/git/phpunit/CommitMetadata/CommitMetadataRetrieverTest.php | +1 | −1 | Go to diff View file |
M | plugins/git/phpunit/CommitStatus/CommitStatusCreatorTest.php | +4 | −6 | Go to diff View file |
M | plugins/git/phpunit/CommitStatus/CommitStatusWithKnownStatusTest.php | +4 | −6 | Go to diff View file |
M | plugins/git/phpunit/Git/AdminGerritControllerTest.php | +1 | −1 | Go to diff View file |
M | plugins/git/phpunit/Git/Gitolite/ConfigPermissionsSerializerFineGrainedPermissionsTest.php | +2 | −2 | Go to diff View file |
M | plugins/git/phpunit/Git/Gitolite/ConfigPermissionsSerializerGerritTest.php | +2 | −2 | Go to diff View file |
M | plugins/git/phpunit/Git/Gitolite/ConfigPermissionsSerializerGitoliteConfTest.php | +2 | −2 | Go to diff View file |
M | plugins/git/phpunit/Git/Gitolite/ConfigPermissionsSerializerMirrorsTest.php | +2 | −2 | Go to diff View file |
M | plugins/git/phpunit/Git/Gitolite/ConfigPermissionsSerializerTest.php | +2 | −2 | Go to diff View file |
M | plugins/git/phpunit/Git/Gitolite/ProjectSerializerTest.php | +2 | −2 | Go to diff View file |
M | plugins/git/phpunit/Git/Permissions/AccessControlVerifierTest.php | +1 | −1 | Go to diff View file |
M | plugins/git/phpunit/Git/Repository/View/FilesHeaderPresenterBuilderTest.php | +2 | −2 | Go to diff View file |
M | plugins/git/phpunit/GitPHP/PackTest.php | +9 | −9 | Go to diff View file |
M | plugins/git/phpunit/Gitolite/GitoliteAccessURLGeneratorTest.php | +2 | −2 | Go to diff View file |
M | plugins/git/phpunit/HTTP/HTTPAccessControlTest.php | +1 | −1 | Go to diff View file |
M | plugins/git/phpunit/PermissionsPerGroup/RepositoryFineGrainedRepresentationBuilderTest.php | +1 | −1 | Go to diff View file |
M | plugins/git/phpunit/SystemEvents/SystemEvent_GIT_GERRIT_PROJECT_DELETETest.php | +1 | −1 | Go to diff View file |
M | plugins/git/tests/rest/Git/GerritTest.php | +0 | −3 | Go to diff View file |
M | plugins/git/tests/rest/Git/RepositoryTest.php | +4 | −21 | Go to diff View file |
M | plugins/git/tests/rest/TestBase.php | +1 | −1 | Go to diff View file |
M | plugins/gitlfs/phpunit/Authorization/Action/ActionAuthorizationVerifierTest.php | +12 | −16 | Go to diff View file |
M | plugins/gitlfs/phpunit/Authorization/LFSAuthorizationTokenHeaderSerializerTest.php | +4 | −3 | Go to diff View file |
M | plugins/gitlfs/phpunit/Authorization/User/Operation/UserOperationFactoryTest.php | +3 | −3 | Go to diff View file |
M | plugins/gitlfs/phpunit/Authorization/User/UserTokenVerifierTest.php | +11 | −20 | Go to diff View file |
M | plugins/gitlfs/phpunit/Batch/Request/BatchRequestOperationTest.php | +2 | −3 | Go to diff View file |
M | plugins/gitlfs/phpunit/Batch/Request/BatchRequestTest.php | +1 | −1 | Go to diff View file |
M | plugins/gitlfs/phpunit/Batch/Response/BatchSuccessfulResponseBuilderTest.php | +7 | −10 | Go to diff View file |
M | plugins/gitlfs/phpunit/GitPHPDisplay/DownloadURLBuilderTest.php | +1 | −1 | Go to diff View file |
M | plugins/gitlfs/phpunit/HTTP/LFSAPIHTTPAccessControlTest.php | +5 | −5 | Go to diff View file |
M | plugins/gitlfs/phpunit/HTTP/LSFBatchAPIHTTPAuthorizationTest.php | +1 | −1 | Go to diff View file |
M | plugins/gitlfs/phpunit/LFSJSONHTTPDispatchableTest.php | +3 | −3 | Go to diff View file |
M | plugins/gitlfs/phpunit/LFSObject/LFSObjectIDTest.php | +1 | −3 | Go to diff View file |
M | plugins/gitlfs/phpunit/LFSObject/LFSObjectRemoverTest.php | +1 | −1 | Go to diff View file |
M | plugins/gitlfs/phpunit/LFSObject/LFSObjectRetrieverTest.php | +1 | −1 | Go to diff View file |
M | plugins/gitlfs/phpunit/LFSObject/LFSObjectTest.php | +1 | −3 | Go to diff View file |
M | plugins/gitlfs/phpunit/Lock/LockDestructorTest.php | +1 | −1 | Go to diff View file |
M | plugins/gitlfs/phpunit/Lock/Response/LockResponseBuilderTest.php | +1 | −1 | Go to diff View file |
M | plugins/gitlfs/phpunit/SSHAuthenticate/LFSEndPointDiscoveryTest.php | +1 | −1 | Go to diff View file |
M | plugins/gitlfs/phpunit/SSHAuthenticate/SSHAuthenticateResponseBuilderTest.php | +1 | −1 | Go to diff View file |
M | plugins/gitlfs/phpunit/SSHAuthenticate/SSHAuthenticateTest.php | +1 | −1 | Go to diff View file |
M | plugins/gitlfs/phpunit/StreamFilter/FilterHandleTest.php | +2 | −6 | Go to diff View file |
M | plugins/gitlfs/phpunit/StreamFilter/StreamFilterTest.php | +3 | −6 | Go to diff View file |
M | plugins/gitlfs/phpunit/StreamFilter/StreamFilterWrapperTest.php | +3 | −3 | Go to diff View file |
M | plugins/gitlfs/phpunit/Transfer/Basic/BlockToMaxSizeOnReadFilterTest.php | +1 | −3 | Go to diff View file |
M | plugins/gitlfs/phpunit/Transfer/Basic/LFSBasicTransferObjectSaverTest.php | +5 | −8 | Go to diff View file |
M | plugins/gitlfs/phpunit/Transfer/LFSActionUserAccessHTTPRequestCheckerTest.php | +11 | −13 | Go to diff View file |
M | plugins/gitlfs/phpunit/Transfer/LFSTransferVerifierTest.php | +1 | −1 | Go to diff View file |
M | plugins/graphontrackersv5/phpunit/CumulativeFlowChartTest.php | +1 | −1 | Go to diff View file |
M | plugins/graphontrackersv5/phpunit/GraphOnTrackersV5_BurndownDataTest.php | +1 | −1 | Go to diff View file |
M | plugins/graphontrackersv5/phpunit/GraphOnTrackersV5_InSessionChartSorterTest.php | +1 | −1 | Go to diff View file |
M | plugins/hudson/phpunit/HudsonBuildTest.php | +2 | −2 | Go to diff View file |
M | plugins/hudson/phpunit/HudsonJobBuilderTest.php | +9 | −8 | Go to diff View file |
M | plugins/hudson/phpunit/HudsonJobFactoryTest.php | +11 | −11 | Go to diff View file |
M | plugins/hudson/phpunit/HudsonJobLazyExceptionHandlerTest.php | +4 | −6 | Go to diff View file |
M | plugins/hudson/phpunit/HudsonTestResultTest.php | +2 | −2 | Go to diff View file |
M | plugins/hudson_svn/phpunit/Job/LauncherTest.php | +2 | −2 | Go to diff View file |
M | plugins/label/phpunit/ProjectLabelRequestDataValidatorTest.php | +1 | −1 | Go to diff View file |
M | plugins/mediawiki/phpunit/MediawikiLanguageManagerTest.php | +2 | −2 | Go to diff View file |
M | plugins/mediawiki/phpunit/MediawikiMathExtensionEnablerTest.php | +1 | −1 | Go to diff View file |
M | plugins/mfa/phpunit/Enrollment/TOTP/TOTPEnrollerTest.php | +6 | −7 | Go to diff View file |
M | plugins/mfa/phpunit/OTP/TOTPModeTest.php | +7 | −17 | Go to diff View file |
M | plugins/openidconnectclient/phpunit/Authentication/Authorization/AuthorizationRequestCreatorTest.php | +7 | −7 | Go to diff View file |
M | plugins/openidconnectclient/phpunit/Authentication/Authorization/AuthorizationResponseTest.php | +6 | −8 | Go to diff View file |
M | plugins/openidconnectclient/phpunit/Authentication/SessionStateTest.php | +2 | −3 | Go to diff View file |
M | plugins/openidconnectclient/phpunit/Authentication/Token/TokenResponseTest.php | +7 | −10 | Go to diff View file |
M | plugins/openidconnectclient/phpunit/Authentication/UserInfo/UserInfoResponseTest.php | +4 | −6 | Go to diff View file |
M | plugins/openidconnectclient/phpunit/Login/LoginUniqueAuthenticationUrlGeneratorTest.php | +4 | −6 | Go to diff View file |
M | plugins/proftpd/phpunit/ProFTPd/Admin/ACLUpdaterTest.php | +2 | −1 | Go to diff View file |
M | plugins/proftpd/phpunit/ProFTPd/Directory/ProftpdDirectoryParserTest.php | +2 | −1 | Go to diff View file |
M | plugins/proftpd/phpunit/ProFTPd/Directory/ProftpdDirectoryPathParserTest.php | +2 | −1 | Go to diff View file |
M | plugins/proftpd/phpunit/ProFTPd/SystemEvent/PROFTPD_DIRECTORY_CREATETest.php | +3 | −2 | Go to diff View file |
M | plugins/proftpd/phpunit/ProFTPd/SystemEvent/PROFTPD_UPDATE_ACLTest.php | +3 | −2 | Go to diff View file |
M | plugins/proftpd/phpunit/ProFTPd/SystemEventManagerTest.php | +2 | −1 | Go to diff View file |
M | plugins/proftpd/phpunit/ProFTPd/Xferlog/FileImporterTest.php | +2 | −1 | Go to diff View file |
M | plugins/proftpd/phpunit/ProFTPd/Xferlog/FileImporter_PathTest.php | +2 | −1 | Go to diff View file |
M | plugins/proftpd/phpunit/ProFTPd/Xferlog/ParserTest.php | +5 | −3 | Go to diff View file |
M | plugins/project_ownership/phpunit/ProjectOwner/ProjectOwnerRetrieverTest.php | +1 | −1 | Go to diff View file |
M | plugins/project_ownership/phpunit/ProjectOwner/ProjectOwnerUpdaterTest.php | +4 | −4 | Go to diff View file |
M | plugins/project_ownership/tests/rest/ProjectUserGroupTest.php | +8 | −14 | Go to diff View file |
M | plugins/pullrequest/phpunit/GitReference/GitPullRequestReferenceBulkConverterTest.php | +2 | −2 | Go to diff View file |
M | plugins/pullrequest/phpunit/GitReference/GitPullRequestReferenceCreatorTest.php | +4 | −6 | Go to diff View file |
M | plugins/pullrequest/phpunit/GitReference/GitPullRequestReferenceRetrieverTest.php | +3 | −3 | Go to diff View file |
M | plugins/pullrequest/phpunit/GitReference/GitPullRequestReferenceTest.php | +1 | −3 | Go to diff View file |
M | plugins/pullrequest/phpunit/GitReference/GitPullRequestReferenceUpdaterTest.php | +5 | −9 | Go to diff View file |
M | plugins/pullrequest/phpunit/MergeSetting/MergeSettingRetrieverTest.php | +1 | −1 | Go to diff View file |
M | plugins/pullrequest/tests/rest/PullRequest/PullRequestsCommentsTest.php | +0 | −3 | Go to diff View file |
M | plugins/pullrequest/tests/rest/PullRequest/PullRequestsTest.php | +1 | −7 | Go to diff View file |
M | plugins/referencealias_core/phpunit/ReferencesImporterTest.php | +1 | −1 | Go to diff View file |
M | plugins/svn/tests/rest/SVN/RepositoryTest.php | +4 | −12 | Go to diff View file |
M | plugins/svn/tests/rest/SVN/RepositoryTestNonRegressionTest.php | +1 | −55 | Go to diff View file |
M | plugins/svn/tests/rest/TestBase.php | +1 | −1 | Go to diff View file |
M | plugins/timetracking/phpunit/ArtifactView/ArtifactViewBuilderTest.php | +1 | −1 | Go to diff View file |
M | plugins/timetracking/phpunit/REST/v1/ArtifactTimeRetrieverTest.php | +1 | −1 | Go to diff View file |
M | plugins/timetracking/phpunit/Time/DateFormatterTest.php | +1 | −1 | Go to diff View file |
M | plugins/timetracking/phpunit/Time/TimeCheckerTest.php | +1 | −1 | Go to diff View file |
M | plugins/timetracking/phpunit/Time/TimeControllerTest.php | +1 | −1 | Go to diff View file |
M | plugins/timetracking/phpunit/Time/TimeRetrieverTest.php | +1 | −1 | Go to diff View file |
M | plugins/timetracking/phpunit/Time/TimeUpdaterTest.php | +1 | −1 | Go to diff View file |
M | plugins/timetracking/phpunit/Time/TimetrackingOverviewRepresentationsBuilderTest.php | +1 | −1 | Go to diff View file |
M | plugins/timetracking/tests/rest/Timetracking/TimetrackingTest.php | +102 | −154 | Go to diff View file |
M | plugins/timetracking/tests/rest/TimetrackingBase.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/phpunit/REST/v1/Workflow/PostAction/SetFieldValueRepresentationTest.php | +1 | −3 | Go to diff View file |
M | plugins/tracker/phpunit/REST/v1/Workflow/PostAction/UnsupportedDateValueExceptionTestTest.php | +3 | −3 | Go to diff View file |
M | plugins/tracker/phpunit/REST/v1/Workflow/PostAction/Update/CIBuildJsonParserTest.php | +9 | −16 | Go to diff View file |
M | plugins/tracker/phpunit/REST/v1/Workflow/PostAction/Update/PostActionCollectionJsonParserTest.php | +5 | −8 | Go to diff View file |
M | plugins/tracker/phpunit/REST/v1/Workflow/PostAction/Update/SetDateValueJsonParserTest.php | +17 | −32 | Go to diff View file |
M | plugins/tracker/phpunit/REST/v1/Workflow/PostAction/Update/SetFloatValueJsonParserTest.php | +15 | −28 | Go to diff View file |
M | plugins/tracker/phpunit/REST/v1/Workflow/PostAction/Update/SetIntValueJsonParserTest.php | +17 | −32 | Go to diff View file |
M | plugins/tracker/phpunit/Tracker/Action/BeforeMoveArtifactTest.php | +22 | −31 | Go to diff View file |
M | plugins/tracker/phpunit/Tracker/Action/MoveContributorSemanticCheckerTest.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/phpunit/Tracker/Action/MoveDescriptionSemanticCheckerTest.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/phpunit/Tracker/Action/MoveStatusSemanticCheckerTest.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/phpunit/Tracker/Action/MoveTitleSemanticCheckerTest.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/phpunit/Tracker/ActionButton/ArtifactMoveButtonPresenterBuilderTest.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/phpunit/Tracker/Artifact/Changeset/PostCreation/ActionsRunnerTest.php | +2 | −2 | Go to diff View file |
M | plugins/tracker/phpunit/Tracker/Artifact/Changeset/PostCreation/AsynchronousActionsRunnerTest.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/phpunit/Tracker/Artifact/Changeset/PostCreation/EmailNotificationTaskTest.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/phpunit/Tracker/Artifact/Changeset/PostCreation/NotifierCustomSenderTest.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/phpunit/Tracker/Artifact/ExistingArtifactSourceIdFromTrackerExtractorTest.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/phpunit/Tracker/Artifact/XMLArtifactSourcePlatformExtractorTest.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/phpunit/Tracker/Artifact/XmlImportTest.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/phpunit/Tracker/FormElement/ArtifactLinkValidatorTest.php | +2 | −2 | Go to diff View file |
M | plugins/tracker/phpunit/Tracker/FormElement/Field/Burndown/BurndownCacheGenerationCheckerTest.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/phpunit/Tracker/FormElement/Field/Burndown/BurndownDataBuilderForLegacyTest.php | +2 | −2 | Go to diff View file |
M | plugins/tracker/phpunit/Tracker/FormElement/Field/Burndown/BurndownDataBuilderForRESTTest.php | +2 | −2 | Go to diff View file |
M | plugins/tracker/phpunit/Tracker/FormElement/Field/Burndown/BurndownRemainingEffortAdderTest.php | +2 | −2 | Go to diff View file |
M | plugins/tracker/phpunit/Tracker/FormElement/Field/Date/CSVFormatterTest.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/phpunit/Tracker/FormElement/Field/ListFields/Bind/BindDecoratorRetrieverTest.php | +9 | −10 | Go to diff View file |
M | plugins/tracker/phpunit/Tracker/FormElement/Field/ListFields/FieldValueMatcherTest.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/phpunit/Tracker/FormElement/Tracker_FormElement_Field_NumericTest.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/phpunit/Tracker/FormElement/Tracker_SharedFormElementFactoryTest.php | +2 | −2 | Go to diff View file |
M | plugins/tracker/phpunit/Tracker/FormElement/TransitionListValidatorTest.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/phpunit/Tracker/GetTrackersQueryCheckerTest.php | +10 | −9 | Go to diff View file |
M | plugins/tracker/phpunit/Tracker/Notifications/CollectionOfUserInvolvedInNotificationPresenterBuilderTest.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/phpunit/Tracker/Notifications/ConfigNotificationEmailCustomSenderFormatterTest.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/phpunit/Tracker/Reference/ReferenceCreatorTest.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/phpunit/Tracker/TrackerXMLFieldMappingFromExistingTrackerTest.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/phpunit/Tracker/TrackerXmlImportTest.php | +2 | −2 | Go to diff View file |
M | plugins/tracker/phpunit/Tracker/Webhook/ArtifactPayloadTest.php | +2 | −2 | Go to diff View file |
M | plugins/tracker/phpunit/Tracker/Webhook/WebhookFactoryTest.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/phpunit/Tracker/Webhook/WebhookXMLExporterTest.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/phpunit/Tracker/Workflow/PostAction/Update/Internal/CIBuildRepositoryTest.php | +11 | −12 | Go to diff View file |
M | plugins/tracker/phpunit/Tracker/Workflow/PostAction/Update/Internal/CIBuildValidatorTest.php | +7 | −10 | Go to diff View file |
M | plugins/tracker/phpunit/Tracker/Workflow/PostAction/Update/Internal/PostActionFieldIdValidatorTest.php | +3 | −4 | Go to diff View file |
M | plugins/tracker/phpunit/Tracker/Workflow/PostAction/Update/Internal/PostActionIdValidatorTest.php | +3 | −4 | Go to diff View file |
M | plugins/tracker/phpunit/Tracker/Workflow/PostAction/Update/Internal/SetDateValueRepositoryTest.php | +11 | −12 | Go to diff View file |
M | plugins/tracker/phpunit/Tracker/Workflow/PostAction/Update/Internal/SetDateValueValidatorTest.php | +7 | −10 | Go to diff View file |
M | plugins/tracker/phpunit/Tracker/Workflow/PostAction/Update/Internal/SetFloatValueRepositoryTest.php | +11 | −12 | Go to diff View file |
M | plugins/tracker/phpunit/Tracker/Workflow/PostAction/Update/Internal/SetIntValueRepositoryTest.php | +11 | −12 | Go to diff View file |
M | plugins/tracker/phpunit/Tracker/Workflow/PostAction/Update/PostActionCollectionTest.php | +3 | −3 | Go to diff View file |
M | plugins/tracker/phpunit/Tracker/XML/Exporter/ChangesetValue/ChangesetValuePermissionsOnArtifactXMLExporterTest.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/phpunit/Tracker/XML/Updater/MoveChangesetXMLUpdaterTest.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/tests/rest/TQL/TQLTest.php | +29 | −65 | Go to diff View file |
M | plugins/tracker/tests/rest/TrackerAdministrator/ProjectTest.php | +0 | −3 | Go to diff View file |
M | plugins/tracker/tests/rest/TrackerAdministrator/ProjectTrackerTest.php | +0 | −3 | Go to diff View file |
M | plugins/tracker/tests/rest/TrackerBase.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/tests/rest/TrackerFields/TrackerFieldsTest.php | +0 | −6 | Go to diff View file |
M | plugins/tracker/tests/rest/Workflows/TrackerWorkflowTransitionsTest.php | +12 | −38 | Go to diff View file |
M | plugins/tracker/tests/rest/Workflows/TrackerWorkflowsTest.php | +31 | −65 | Go to diff View file |
M | plugins/tracker/tests/rest/XML/ArtifactTest.php | +2 | −1 | Go to diff View file |
M | plugins/velocity/phpunit/Velocity/Semantic/BacklogRequiredTrackerCollectionTest.php | +2 | −2 | Go to diff View file |
M | plugins/velocity/phpunit/Velocity/VelocityComputationCheckerTest.php | +1 | −1 | Go to diff View file |
M | plugins/velocity/phpunit/Velocity/VelocityPluginComputationTest.php | +1 | −1 | Go to diff View file |
D | tests/lib/ArrayHasKeyWithValueMatch.php | +0 | −61 | Go to diff View file |
D | tests/lib/CustomAssert.php | +0 | −70 | Go to diff View file |
D | tests/lib/TraversableContainsAnyElementMatch.php | +0 | −78 | Go to diff View file |
D | tests/lib/bootstrap_phpunit_custom_assert.php | +0 | −24 | Go to diff View file |
M | tests/phpunit/common/Authentication/SplitToken/SplitTokenVerificationStringTest.php | +1 | −3 | Go to diff View file |
M | tests/phpunit/common/Dashboard/AssetsIncluderTest.php | +2 | −2 | Go to diff View file |
M | tests/phpunit/common/ForgeAccess/ForgeAccessTest.php | +2 | −2 | Go to diff View file |
M | tests/phpunit/common/ForgeAccess/ForgePropertiesManagerTest.php | +2 | −3 | Go to diff View file |
M | tests/phpunit/common/Frs/PermissionsPerGroup/PackagePermissionPerGroupRepresentationBuilderTest.php | +1 | −1 | Go to diff View file |
M | tests/phpunit/common/Frs/PermissionsPerGroup/PermissionPerTypeExtractorTest.php | +1 | −1 | Go to diff View file |
M | tests/phpunit/common/Include/CookieManagerTest.php | +2 | −2 | Go to diff View file |
M | tests/phpunit/common/Include/LoaderSchedulerTest.php | +1 | −1 | Go to diff View file |
M | tests/phpunit/common/Include/URLVerificationRestrictedUserTest.php | +1 | −1 | Go to diff View file |
M | tests/phpunit/common/Include/URLVerification_AssertValidUrlTest.php | +2 | −2 | Go to diff View file |
M | tests/phpunit/common/JWT/generators/JWTGeneratorTest.php | +1 | −1 | Go to diff View file |
M | tests/phpunit/common/Layout/CssAssetCollectionTest.php | +0 | −5 | Go to diff View file |
M | tests/phpunit/common/Password/HaveIBeenPwned/PwnedPasswordRangeRetrieverTest.php | +3 | −3 | Go to diff View file |
M | tests/phpunit/common/Project/DynamicUGroupMembersUpdaterTest.php | +2 | −4 | Go to diff View file |
M | tests/phpunit/common/Project/REST/GetProjectsQueryCheckerTest.php | +26 | −25 | Go to diff View file |
M | tests/phpunit/common/Project/REST/ProjectStatusVerificatorTest.php | +10 | −11 | Go to diff View file |
M | tests/phpunit/common/Project/REST/UserGroupQueryParameterParserTest.php | +7 | −7 | Go to diff View file |
M | tests/phpunit/common/Project/REST/UserRESTReferenceRetrieverTest.php | +17 | −16 | Go to diff View file |
M | tests/phpunit/common/Project/UGroupManagerTest.php | +27 | −10 | Go to diff View file |
M | tests/phpunit/common/REST/QueryParameterParserTest.php | +25 | −37 | Go to diff View file |
M | tests/phpunit/common/Redis/RedisInitializerTest.php | +7 | −10 | Go to diff View file |
M | tests/phpunit/common/Request/FrontRouterTest.php | +3 | −3 | Go to diff View file |
M | tests/phpunit/common/User/AccessKey/AccessKeySerializerTest.php | +4 | −3 | Go to diff View file |
M | tests/phpunit/common/User/AccessKey/AccessKeyVerifierTest.php | +8 | −11 | Go to diff View file |
M | tests/phpunit/common/User/AccessKey/LastAccessKeyIdentifierStoreTest.php | +1 | −1 | Go to diff View file |
M | tests/phpunit/common/User/Change/PasswordChangerTest.php | +3 | −4 | Go to diff View file |
M | tests/phpunit/common/User/Password/Reset/ResetTokenSerializerTest.php | +4 | −3 | Go to diff View file |
M | tests/phpunit/common/language/BaseLanguageTest.php | +5 | −7 | Go to diff View file |
M | tests/phpunit/common/mail/Codendi_MailTest.php | +2 | −2 | Go to diff View file |
M | tests/phpunit/common/session/Codendi_SessionTest.php | +3 | −4 | Go to diff View file |
M | tests/rest/composer.json | +1 | −1 | Go to diff View file |
M | tests/rest/composer.lock | +110 | −47 | Go to diff View file |
M | tests/rest/lib/ArtifactBase.php | +1 | −1 | Go to diff View file |
M | tests/rest/lib/ArtifactFileBase.php | +1 | −1 | Go to diff View file |
M | tests/rest/lib/CardsBase.php | +1 | −1 | Go to diff View file |
M | tests/rest/lib/MilestoneBase.php | +1 | −1 | Go to diff View file |
M | tests/rest/lib/ProjectBase.php | +1 | −1 | Go to diff View file |
M | tests/rest/lib/RestBase.php | +9 | −4 | Go to diff View file |
M | tests/rest/lib/TrackerBase.php | +1 | −1 | Go to diff View file |
M | tests/rest/tests/AccessKeyTest.php | +8 | −6 | Go to diff View file |
M | tests/rest/tests/ArtifactFilesTest.php | +9 | −32 | Go to diff View file |
M | tests/rest/tests/ArtifactsChangesetsTest.php | +1 | −1 | Go to diff View file |
M | tests/rest/tests/ArtifactsTest.php | +20 | −31 | Go to diff View file |
M | tests/rest/tests/AuthenticationTest.php | +22 | −35 | Go to diff View file |
M | tests/rest/tests/BacklogItemsTest.php | +8 | −12 | Go to diff View file |
M | tests/rest/tests/MilestonesBacklogPatchTest.php | +12 | −24 | Go to diff View file |
M | tests/rest/tests/MilestonesBacklogTest.php | +0 | −6 | Go to diff View file |
M | tests/rest/tests/MilestonesContentTest.php | +1 | −4 | Go to diff View file |
M | tests/rest/tests/PhpWikiTest.php | +0 | −6 | Go to diff View file |
M | tests/rest/tests/ProjectBacklogV2Test.php | +0 | −3 | Go to diff View file |
M | tests/rest/tests/ProjectTest.php | +28 | −85 | Go to diff View file |
M | tests/rest/tests/TokenTest.php | +4 | −8 | Go to diff View file |
M | tests/rest/tests/TrackersTest.php | +6 | −15 | Go to diff View file |
M | tests/rest/tests/UserGroupTest.php | +17 | −43 | Go to diff View file |
M | tests/rest/tests/UsersTest.php | +28 | −66 | Go to diff View file |
M | tests/rest/tests/regressions/ArtifactsCreationWithWrongWorkflowTest.php | +3 | −5 | Go to diff View file |
M | tests/soap/lib/SOAPBase.php | +1 | −1 | Go to diff View file |
M | tests/soap/tests/FRSReleaseDeleteUsingCLITest.php | +2 | −2 | Go to diff View file |
M | tests/soap/tests/FRSReleaseDownloadTest.php | +2 | −2 | Go to diff View file |
M | tests/soap/tests/ProjectTest.php | +2 | −2 | Go to diff View file |
M | tests/soap/tests/UserTest.php | +6 | −3 | Go to diff View file |