Skip to content
代码片段 群组 项目
提交 6b3c45b0 编辑于 作者: Ash McKenzie's avatar Ash McKenzie
浏览文件

Merge branch 'caalberts-fix-broken-master-build-report-result-service' into 'master'

Run test at a fixed time

See merge request gitlab-org/gitlab!50354
No related branches found
No related tags found
无相关合并请求
...@@ -6,6 +6,12 @@ ...@@ -6,6 +6,12 @@
describe '#execute', :clean_gitlab_redis_shared_state do describe '#execute', :clean_gitlab_redis_shared_state do
subject(:build_report_result) { described_class.new.execute(build) } subject(:build_report_result) { described_class.new.execute(build) }
around do |example|
travel_to(DateTime.parse('2020-07-01')) do
example.run
end
end
context 'when build is finished' do context 'when build is finished' do
let(:build) { create(:ci_build, :success, :test_reports) } let(:build) { create(:ci_build, :success, :test_reports) }
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册