Fix pipeline fixtures and calls to removed method
This commit is contained in:
parent
7d4767fb48
commit
ebeee31100
3 changed files with 3 additions and 3 deletions
|
@ -34,7 +34,7 @@ class Gitlab::Seeder::Pipelines
|
|||
rescue ActiveRecord::RecordInvalid
|
||||
print 'F'
|
||||
ensure
|
||||
pipeline.build_updated
|
||||
pipeline.update_status
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -59,7 +59,7 @@ feature 'test coverage badge' do
|
|||
|
||||
create(:ci_pipeline, opts).tap do |pipeline|
|
||||
yield pipeline
|
||||
pipeline.build_updated
|
||||
pipeline.update_status
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -100,7 +100,7 @@ describe Gitlab::Badge::Coverage::Report do
|
|||
|
||||
create(:ci_pipeline, opts).tap do |pipeline|
|
||||
yield pipeline
|
||||
pipeline.build_updated
|
||||
pipeline.update_status
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue