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
[#47063] fixed unit tests for new urn
Eric Schubert86883d19943e
diff --git a/modules/storages/spec/requests/api/v3/file_links/file_links_spec.rb b/modules/storages/spec/requests/api/v3/file_links/file_links_spec.rbindex 91538924176..f27c656d6bd 100644--- a/modules/storages/spec/requests/api/v3/file_links/file_links_spec.rb+++ b/modules/storages/spec/requests/api/v3/file_links/file_links_spec.rb@@ -625,7 +625,7 @@ describe 'API v3 file links resource' dobody = JSON.parse(subject.body)expect(body['message']).to eq(I18n.t('api_v3.errors.code_500_outbound_request_failure', status_code: 404))- expect(body['errorIdentifier']).to eq('urn:openproject-org:api:v3:errors:OutboundRequestFailure')+ expect(body['errorIdentifier']).to eq('urn:openproject-org:api:v3:errors:OutboundRequest:NotFound')endendend@@ -667,7 +667,7 @@ describe 'API v3 file links resource' dobody = JSON.parse(last_response.body)expect(body['message']).to eq(I18n.t('api_v3.errors.code_500_outbound_request_failure', status_code: 404))- expect(body['errorIdentifier']).to eq('urn:openproject-org:api:v3:errors:OutboundRequestFailure')+ expect(body['errorIdentifier']).to eq('urn:openproject-org:api:v3:errors:OutboundRequest:NotFound')endendenddiff --git a/modules/storages/spec/requests/api/v3/storages/storage_files_spec.rb b/modules/storages/spec/requests/api/v3/storages/storage_files_spec.rbindex 4a57076598a..a9b36f827e6 100644--- a/modules/storages/spec/requests/api/v3/storages/storage_files_spec.rb+++ b/modules/storages/spec/requests/api/v3/storages/storage_files_spec.rb@@ -147,7 +147,7 @@ describe 'API v3 storage files', content_type: :json, webmock: true dobody = JSON.parse(last_response.body)expect(body['message']).to eq(I18n.t('api_v3.errors.code_500_outbound_request_failure', status_code: 404))- expect(body['errorIdentifier']).to eq('urn:openproject-org:api:v3:errors:OutboundRequestFailure')+ expect(body['errorIdentifier']).to eq('urn:openproject-org:api:v3:errors:OutboundRequest:NotFound')endendend@@ -190,7 +190,7 @@ describe 'API v3 storage files', content_type: :json, webmock: true dobody = JSON.parse(last_response.body)expect(body['message']).to eq(I18n.t('api_v3.errors.code_500_outbound_request_failure', status_code: 404))- expect(body['errorIdentifier']).to eq('urn:openproject-org:api:v3:errors:OutboundRequestFailure')+ expect(body['errorIdentifier']).to eq('urn:openproject-org:api:v3:errors:OutboundRequest:NotFound')endendend@@ -277,7 +277,7 @@ describe 'API v3 storage files', content_type: :json, webmock: true dobody = JSON.parse(last_response.body)expect(body['message']).to eq(I18n.t('api_v3.errors.code_500_outbound_request_failure', status_code: 404))- expect(body['errorIdentifier']).to eq('urn:openproject-org:api:v3:errors:OutboundRequestFailure')+ expect(body['errorIdentifier']).to eq('urn:openproject-org:api:v3:errors:OutboundRequest:NotFound')endendend