Commit 2f4ab87d authored by Stan Hu's avatar Stan Hu

Merge branch 'fix_flaky_status_checks_spec' into 'master'

Fix flaky status_checks_spec

See merge request gitlab-org/gitlab!65432
parents 123a994d ff26913a
...@@ -276,7 +276,7 @@ RSpec.describe API::StatusChecks do ...@@ -276,7 +276,7 @@ RSpec.describe API::StatusChecks do
it 'paginates correctly' do it 'paginates correctly' do
get api(collection_url, project.owner), params: { per_page: 1 } get api(collection_url, project.owner), params: { per_page: 1 }
expect_paginated_array_response([1]) expect_paginated_array_response([rule.id])
end end
context 'when feature is disabled, unlicensed or user has permission' do context 'when feature is disabled, unlicensed or user has permission' do
......
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