OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Keep the same API as before
Marcello Rochaa5b583c13acd
diff --git a/modules/storages/config/locales/en.yml b/modules/storages/config/locales/en.ymlindex 820d6cac991..12b682841e8 100644--- a/modules/storages/config/locales/en.yml+++ b/modules/storages/config/locales/en.yml@@ -123,7 +123,6 @@ en:messages:error: An unexpected error occurred. Please check OpenProject logs for more information or contact an administratorunauthorized: OpenProject could not authenticate with the Storage Provider. Please ensure that you have access to it.- not_found: OpenProject could not find the file on the Storage Provider. Please check if it wasn't deleted.models:copy_project_folders_service:conflict: The folder %{destination_path} already exists. Interrupting process to avoid overwrites.diff --git a/modules/storages/spec/services/storages/storage_file_service_spec.rb b/modules/storages/spec/services/storages/storage_file_service_spec.rbindex 7d899c0a2db..cc4b7a153ca 100644--- a/modules/storages/spec/services/storages/storage_file_service_spec.rb+++ b/modules/storages/spec/services/storages/storage_file_service_spec.rb@@ -45,11 +45,10 @@ module Storagesendshared_examples "storage file service: not found" do- it "returns a failure with code :not_found" do+ it "returns a failure" doresult = described_class.call(storage:, user:, file_id:)expect(result).to be_failure- expect(result.errors[:base]).to eq([I18n.t("services.errors.messages.not_found")])endend