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
[#53040] fixed tests
Eric Schubert31ccec61d509
diff --git a/modules/storages/config/locales/en.yml b/modules/storages/config/locales/en.ymlindex 3f5f374aea9..0088822d4a7 100644--- a/modules/storages/config/locales/en.yml+++ b/modules/storages/config/locales/en.yml@@ -64,14 +64,8 @@ en:one_drive: Allow OpenProject to access Azure data using OAuth to connect OneDrive/Sharepoint.redirect_uri_incomplete:one_drive: Complete the setup with the correct URI redirection.- confirm_replace_oauth_application: |-- This action will reset the current OAuth credentials. After confirming you will have to reenter the credentials- in the client at the storage provider and all remote users will have to authorize against OpenProject again. Are- you sure you want to proceed?- confirm_replace_oauth_client: |-- This action will reset the current OAuth credentials. After confirming you will have to enter new credentials- from the storage provider and all users will have to authorize against %{provider_type} again. Are you sure you- want to proceed?+ confirm_replace_oauth_application: This action will reset the current OAuth credentials. After confirming you will have to reenter the credentials in the client at the storage provider and all remote users will have to authorize against OpenProject again. Are you sure you want to proceed?+ confirm_replace_oauth_client: This action will reset the current OAuth credentials. After confirming you will have to enter new credentials from the storage provider and all users will have to authorize against %{provider_type} again. Are you sure you want to proceed?delete_warning:input_delete_confirmation: Enter the file storage name %{file_storage} to confirm deletion.irreversible_notice: Deleting a file storage is an irreversible action.@@ -152,7 +146,6 @@ en:label_edit_storage: Edit storagelabel_edit_storage_automatically_managed_folders: Edit storage automatically managed folderslabel_edit_storage_host: Edit storage host- label_edit_storage_oauth_client: Edit storage OAuth clientlabel_existing_manual_folder: Existing folder with manually managed permissionslabel_file_storage: File storagelabel_host: Host URLdiff --git a/modules/storages/spec/components/storages/admin/oauth_client_info_component_spec.rb b/modules/storages/spec/components/storages/admin/oauth_client_info_component_spec.rbindex e93dbeb1000..381532c65a8 100644--- a/modules/storages/spec/components/storages/admin/oauth_client_info_component_spec.rb+++ b/modules/storages/spec/components/storages/admin/oauth_client_info_component_spec.rb@@ -36,10 +36,13 @@ RSpec.describe Storages::Admin::OAuthClientInfoComponent, type: :component do #storage = build_stubbed(:nextcloud_storage,oauth_client: build_stubbed(:oauth_client))component = described_class.new(storage:, oauth_client: storage.oauth_client)- expect(component.edit_icon_button_options).to include(- icon: :sync,- data: { confirm: "Are you sure? All users will have to authorize again against the storage.", turbo_stream: true }- )+ expect(component.edit_icon_button_options)+ .to include(icon: :sync,+ data: { confirm:+ "This action will reset the current OAuth credentials. After confirming you will " \+ "have to enter new credentials from the storage provider and all users will have " \+ "to authorize against Nextcloud again. Are you sure you want to proceed?",+ turbo_stream: true })endend