Skip to content

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

[48563] Fixed failing spec

Andreas Pfohl488394fc4170
diff --git a/modules/storages/app/common/storages/peripherals/storage_interaction/nextcloud/create_folder_command.rb b/modules/storages/app/common/storages/peripherals/storage_interaction/nextcloud/create_folder_command.rb
index 18f15a33c33..92411b1205a 100644
--- a/modules/storages/app/common/storages/peripherals/storage_interaction/nextcloud/create_folder_command.rb
+++ b/modules/storages/app/common/storages/peripherals/storage_interaction/nextcloud/create_folder_command.rb
@@ -48,7 +48,7 @@ module Storages::Peripherals::StorageInteraction::Nextcloud
when Net::HTTPSuccess
ServiceResult.success(message: 'Folder was successfully created.')
when Net::HTTPMethodNotAllowed
- if error_text_from_response(response) == 'The resource you tried to create already exists'
+ if Util.error_text_from_response(response) == 'The resource you tried to create already exists'
ServiceResult.success(message: 'Folder already exists.')
else
Util.error(:not_allowed)