mirror of
https://github.com/opf/openproject.git
synced 2026-06-13 19:20:00 +00:00
end enterprise only error with dot
This commit is contained in:
@@ -1374,7 +1374,7 @@ en:
|
||||
confirmation: "doesn't match %{attribute}."
|
||||
could_not_be_copied: "%{dependency} could not be (fully) copied."
|
||||
does_not_exist: "does not exist."
|
||||
error_enterprise_only: "%{action} is only available in the OpenProject Enterprise edition"
|
||||
error_enterprise_only: "%{action} is only available in the OpenProject Enterprise edition."
|
||||
error_unauthorized: "may not be accessed."
|
||||
error_readonly: "was attempted to be written but is not writable."
|
||||
error_conflict: "Information has been updated by at least one other user in the meantime."
|
||||
|
||||
@@ -104,7 +104,7 @@ RSpec.describe UserPreferences::ParamsContract do
|
||||
it "displays the error message containing the feature name" do
|
||||
contract.validate
|
||||
expect(contract.errors.full_messages)
|
||||
.to eq(["Date Alerts is only available in the OpenProject Enterprise edition"])
|
||||
.to eq(["Date Alerts is only available in the OpenProject Enterprise edition."])
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -96,7 +96,7 @@ RSpec.shared_examples "create placeholder user request flow" do
|
||||
|
||||
expect(last_response).to have_http_status(:unprocessable_entity)
|
||||
expect(parsed_response["message"])
|
||||
.to eq("Placeholder Users is only available in the OpenProject Enterprise edition")
|
||||
.to eq("Placeholder Users is only available in the OpenProject Enterprise edition.")
|
||||
|
||||
expect(last_response.body)
|
||||
.to be_json_eql("urn:openproject-org:api:v3:errors:PropertyConstraintViolation".to_json)
|
||||
|
||||
Reference in New Issue
Block a user