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 specs

Tobias Dillmann7a42399f2f48
diff --git a/spec/requests/api/v3/principals/principals_resource_spec.rb b/spec/requests/api/v3/principals/principals_resource_spec.rb
index 9c79fef8867..39fcb0ba677 100644
--- a/spec/requests/api/v3/principals/principals_resource_spec.rb
+++ b/spec/requests/api/v3/principals/principals_resource_spec.rb
@@ -252,7 +252,6 @@ RSpec.describe "API v3 Principals resource" do
_type: "User",
id: other_user.id,
name: other_user.name,
- email: other_user.mail,
_links: {
self: {
href: api_v3_paths.user(other_user.id),
diff --git a/spec/requests/api/v3/watcher_resource_spec.rb b/spec/requests/api/v3/watcher_resource_spec.rb
index acb46c42e3e..78116a36f0d 100644
--- a/spec/requests/api/v3/watcher_resource_spec.rb
+++ b/spec/requests/api/v3/watcher_resource_spec.rb
@@ -305,7 +305,6 @@ RSpec.describe "API v3 Watcher resource", content_type: :json do
_type: "User",
id: available_watcher.id,
name: available_watcher.name,
- email: available_watcher.mail,
_links: {
self: {
href: api_v3_paths.user(available_watcher.id),