end enterprise only error with dot

This commit is contained in:
Ivan Kuchin
2025-09-18 13:46:54 +02:00
parent db98c7a71b
commit b7459830ce
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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)