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[Op#54459]: undo erroneous updates

Kabiru Mwenja92d59bc74256
diff --git a/spec/requests/api/v3/projects/index_resource_spec.rb b/spec/requests/api/v3/projects/index_resource_spec.rb
index 2918e8d98c6..9a4a2c6c447 100644
--- a/spec/requests/api/v3/projects/index_resource_spec.rb
+++ b/spec/requests/api/v3/projects/index_resource_spec.rb
@@ -125,13 +125,13 @@ RSpec.describe "API v3 Project resource index", content_type: :json do
context "if using the equals operator" do
let(:operator) { "=" }
- it_behaves_like "API V3 collection response", 1, 1, "Project"
+ it_behaves_like "API V3 collection response", 2, 2, "Project"
end
context "if using the all operator" do
let(:operator) { "&=" }
- it_behaves_like "API V3 collection response", 2, 2, "Project"
+ it_behaves_like "API V3 collection response", 1, 1, "Project"
it "returns the project the current user has the capabilities in" do
expect(response.body)