This commit is contained in:
Shinya Maeda 2018-08-03 21:53:29 +09:00
parent 3d13cd2c9e
commit 9b609c1df4
2 changed files with 2 additions and 2 deletions

View file

@ -94,7 +94,7 @@ FactoryBot.define do
merge_request.head_pipeline = build(
:ci_pipeline,
:success,
:test_reports,
:with_test_reports,
project: merge_request.source_project,
ref: merge_request.source_branch,
sha: merge_request.diff_head_sha)

View file

@ -2838,7 +2838,7 @@ describe Ci::Build do
end
it 'raises an error' do
expect { subject }.to raise_error(Gitlab::Ci::Parsers::JunitParser::JunitParserError)
expect { subject }.to raise_error(Gitlab::Ci::Parsers::Junit::JunitParserError)
end
end
end