Commit abf1cfff authored by Lin Jen-Shin's avatar Lin Jen-Shin

Fix tests, explicitly set the status

parent d79fb3e3
...@@ -8,7 +8,8 @@ describe Projects::ArtifactsController do ...@@ -8,7 +8,8 @@ describe Projects::ArtifactsController do
create(:ci_pipeline, create(:ci_pipeline,
project: project, project: project,
sha: project.commit.sha, sha: project.commit.sha,
ref: project.default_branch) ref: project.default_branch,
status: 'success')
end end
let(:build) { create(:ci_build, :success, :artifacts, pipeline: pipeline) } let(:build) { create(:ci_build, :success, :artifacts, pipeline: pipeline) }
......
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