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

Fix translations

Klaus Zanders0597715b4fa4
diff --git a/modules/costs/spec/requests/api/time_entry_resource_spec.rb b/modules/costs/spec/requests/api/time_entry_resource_spec.rb
index 86f4cc91bef..06e43b527b7 100644
--- a/modules/costs/spec/requests/api/time_entry_resource_spec.rb
+++ b/modules/costs/spec/requests/api/time_entry_resource_spec.rb
@@ -548,7 +548,7 @@ RSpec.describe "API v3 time_entry resource" do
.to be(422)
expect(subject.body)
- .to be_json_eql("Entity can't be blank.".to_json)
+ .to be_json_eql("Logged for can't be blank.".to_json)
.at_path("message")
end
end
@@ -650,7 +650,7 @@ RSpec.describe "API v3 time_entry resource" do
.to be(422)
expect(subject.body)
- .to be_json_eql("Entity can't be blank.".to_json)
+ .to be_json_eql("Logged for can't be blank.".to_json)
.at_path("message")
end
end