Commit 60b8156a authored by Lin Jen-Shin's avatar Lin Jen-Shin

Fix cycle analytics tests by making pipeline valid

parent 84e37683
...@@ -74,7 +74,10 @@ module CycleAnalyticsHelpers ...@@ -74,7 +74,10 @@ module CycleAnalyticsHelpers
def dummy_pipeline def dummy_pipeline
@dummy_pipeline ||= @dummy_pipeline ||=
project.pipelines.build(sha: project.repository.commit('master').sha) project.pipelines.build(
sha: project.repository.commit('master').sha,
ref: 'master',
source: :push)
end end
def new_dummy_job(environment) def new_dummy_job(environment)
......
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