Skip to content
代码片段 群组 项目
未验证 提交 ffc55556 编辑于 作者: Sylvester Chin's avatar Sylvester Chin 提交者: GitLab
浏览文件

Merge branch 'fix-flaky-test-in-project-security-exclusion-resolver' into 'master'

Fix flaky test in project security exclusion resolver

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/168013



Merged-by: default avatarSylvester Chin <schin@gitlab.com>
Approved-by: default avatarSylvester Chin <schin@gitlab.com>
Co-authored-by: default avatarAhmed Hemdan <ahemdan@gitlab.com>
No related branches found
No related tags found
无相关合并请求
......@@ -92,15 +92,15 @@
expect(resolver).to contain_exactly(active_exclusion)
end
end
end
context 'for a role that cannot read security exclusions' do
before_all do
project.add_reporter(user)
end
context 'for a role that cannot read security exclusions' do
before_all do
project.add_reporter(user)
end
it 'returns no exclusions' do
expect(resolver).to be_empty
end
it 'returns no exclusions' do
expect(resolver).to be_empty
end
end
end
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册