Commit 04f805ba authored by Tetiana Chupryna's avatar Tetiana Chupryna Committed by Kamil Trzciński

Change paginate number to 20

parent ddd2b7d5
......@@ -7,7 +7,7 @@ module Vulnerabilities
self.table_name = "vulnerability_occurrences"
paginates_per 10
paginates_per 20
# Used for both severity and confidence
LEVELS = {
......
---
title: Change paginate number to 20
merge_request: 9213
author:
type: changed
......@@ -79,7 +79,7 @@ describe Groups::Security::VulnerabilitiesController do
end
it "returns a list of vulnerabilities" do
get :index, params: { group_id: group, page: 3 }, format: :json
get :index, params: { group_id: group, page: 2 }, format: :json
expect(response).to have_gitlab_http_status(200)
expect(json_response).to be_an(Array)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment