stable

Clone or download

Read-only

chore: Delete Project::buildForTest method

This closes request #28253 Delete Project::buildForTest method This must be removed and the test helper ProjectTestBuilder::aProject()->build() must be used instead. Change-Id: I4534752e2ad3413211dcc45fb681d8e9695d45ea

Modified Files

Name
M plugins/agiledashboard/tests/unit/AgileDashboard/AgileDashboardScrumConfigurationUpdaterTest.php +2 −1 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/AgileDashboard_ConfigurationManagerTest.php +4 −2 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/BlockScrumAccessTest.php +3 −2 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Milestone/Backlog/AgileDashboard_Milestone_Backlog_BacklogItemCollectionFactoryTest.php +4 −3 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Milestone/Request/TopMilestoneRequestTest.php +5 −4 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Planning/MilestoneFactoryGetPaginatedMilestonesTest.php +10 −9 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Widget/WidgetKanbanXMLImporterTest.php +5 −4 Go to diff View file
M plugins/agiledashboard/tests/unit/REST/v1/Milestone/ProjectMilestonesResourceTest.php +5 −4 Go to diff View file
M plugins/docman/tests/unit/Metadata/Owner/AllOwnerRetrieverTest.php +3 −2 Go to diff View file
M plugins/git/tests/unit/DiskUsage/RetrieverTest.php +3 −2 Go to diff View file
M plugins/gitlab/tests/unit/Artifact/Action/CreateBranchButtonFetcherTest.php +5 −4 Go to diff View file
M plugins/gitlab/tests/unit/Artifact/Action/CreateBranchPrefixUpdaterTest.php +5 −4 Go to diff View file
M plugins/gitlab/tests/unit/Artifact/BranchNameCreatorFromArtifactTest.php +2 −2 Go to diff View file
M plugins/gitlab/tests/unit/REST/v1/GitlabBranchCreatorTest.php +2 −3 Go to diff View file
M plugins/gitlab/tests/unit/REST/v1/GitlabMergeRequestCreatorTest.php +2 −3 Go to diff View file
M plugins/gitlab/tests/unit/Reference/Branch/GitlabBranchFactoryTest.php +3 −2 Go to diff View file
M plugins/gitlab/tests/unit/Reference/GitlabCrossReferenceOrganizerTest.php +6 −7 Go to diff View file
M plugins/gitlab/tests/unit/Reference/GitlabReferenceBuilderTest.php +10 −10 Go to diff View file
M plugins/gitlab/tests/unit/Repository/GitlabRepositoryCreatorTest.php +4 −3 Go to diff View file
M plugins/gitlab/tests/unit/Repository/GitlabRepositoryDeletorTest.php +3 −2 Go to diff View file
M plugins/gitlab/tests/unit/Repository/GitlabRepositoryIntegrationFactoryTest.php +3 −3 Go to diff View file
M plugins/gitlab/tests/unit/Repository/GitlabRepositoryIntegrationUpdatorTest.php +3 −3 Go to diff View file
M plugins/gitlab/tests/unit/Repository/GitlabRepositoryTest.php +4 −2 Go to diff View file
M plugins/gitlab/tests/unit/Repository/Webhook/Bot/CommentSenderTest.php +3 −2 Go to diff View file
M plugins/gitlab/tests/unit/Repository/Webhook/Bot/InvalidCredentialsNotifierTest.php +2 −1 Go to diff View file
M plugins/gitlab/tests/unit/Repository/Webhook/PostMergeRequest/CrossReferenceFromMergeRequestCreatorTest.php +6 −6 Go to diff View file
M plugins/gitlab/tests/unit/Repository/Webhook/PostMergeRequest/PostMergeRequestWebhookActionProcessorTest.php +8 −8 Go to diff View file
M plugins/gitlab/tests/unit/Repository/Webhook/PostMergeRequest/PostMergeRequestWebhookAuthorDataRetrieverTest.php +4 −4 Go to diff View file
M plugins/gitlab/tests/unit/Repository/Webhook/PostMergeRequest/PreviouslySavedReferencesRetrieverTest.php +7 −7 Go to diff View file
M plugins/gitlab/tests/unit/Repository/Webhook/PostPush/Branch/PostPushWebhookActionBranchHandlerTest.php +8 −8 Go to diff View file
M plugins/gitlab/tests/unit/Repository/Webhook/PostPush/PostPushWebhookActionProcessorTest.php +5 −5 Go to diff View file
M plugins/gitlab/tests/unit/Repository/Webhook/Secret/SecretCheckerTest.php +3 −3 Go to diff View file
M plugins/gitlab/tests/unit/Repository/Webhook/TagPush/TagPushWebhookActionProcessorTest.php +5 −5 Go to diff View file
M plugins/gitlab/tests/unit/Repository/Webhook/TagPush/TagPushWebhookCreateActionTest.php +6 −6 Go to diff View file
M plugins/gitlab/tests/unit/Repository/Webhook/TagPush/TagPushWebhookDeleteActionTest.php +3 −3 Go to diff View file
M plugins/gitlab/tests/unit/Repository/Webhook/WebhookActionsTest.php +2 −2 Go to diff View file
M plugins/gitlab/tests/unit/Repository/Webhook/WebhookCreatorTest.php +6 −6 Go to diff View file
M plugins/gitlab/tests/unit/Repository/Webhook/WebhookDeletorTest.php +8 −8 Go to diff View file
M plugins/oauth2_server/tests/unit/Administration/OAuth2AppProjectVerifierTest.php +3 −2 Go to diff View file
M plugins/projectmilestones/tests/unit/Widget/ConfigureAtXMLImportTest.php +4 −3 Go to diff View file
M plugins/projectmilestones/tests/unit/Widget/ProjectMilestonesWidgetRetrieverTest.php +3 −2 Go to diff View file
M plugins/referencealias_svn/tests/unit/ReferenceAliasSVN/ReferencesBuilderTest.php +3 −3 Go to diff View file
M plugins/statistics/tests/unit/DiskUsage/ConcurrentVersionsSystem/RetrieverTest.php +3 −2 Go to diff View file
M plugins/statistics/tests/unit/DiskUsage/Subversion/RetrieverTest.php +3 −2 Go to diff View file
M plugins/svn/tests/integration/SVN/Commit/SvnlookTest.php +3 −3 Go to diff View file
M plugins/svn/tests/integration/SVN/Commit/_fixtures/pre-commit.php +3 −3 Go to diff View file
M plugins/testmanagement/tests/unit/TestManagement/Campaign/StatusChangedRedirectURLBuilderTest.php +3 −3 Go to diff View file
M plugins/testmanagement/tests/unit/TestManagement/Heartbeat/LatestHeartbeatsCollectorTest.php +4 −3 Go to diff View file
M plugins/tracker/tests/unit/REST/Artifact/Changeset/ChangesetRepresentationBuilderTest.php +2 −1 Go to diff View file
M plugins/tracker/tests/unit/REST/Artifact/Changeset/Comment/CommentRepresentationBuilderTest.php +2 −1 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Artifact/Changeset/Comment/CommentPresenterBuilderTest.php +3 −2 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Artifact/Changeset/Comment/PrivateComment/XMLImport/TrackerPrivateCommentUGroupExtractorTest.php +3 −2 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/FromJiraTrackerCreatorTest.php +2 −1 Go to diff View file
M plugins/tracker/tests/unit/Tracker/FormElement/Field/ArtifactLink/Type/TypePresenterFactoryTest.php +3 −2 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Widget/ProjectRendererWidgetXMLImporterTest.php +5 −4 Go to diff View file
M src/common/Project/Project.class.php +0 −5 Go to diff View file
M tests/unit/common/Project/Admin/Categories/UpdateCategoriesProcessorTest.php +3 −3 Go to diff View file
M tests/unit/common/Project/ProjectBackground/ProjectBackgroundPermissionsCheckerTest.php +3 −2 Go to diff View file
M tests/unit/common/Project/ProjectBackground/ProjectBackgroundUpdaterTest.php +2 −1 Go to diff View file
M tests/unit/common/Project/ProjectBackground/UserCanModifyProjectBackgroundPermissionTest.php +2 −1 Go to diff View file