Skip to content
代码片段 群组 项目
提交 c5079fe1 编辑于 作者: Allison Browne's avatar Allison Browne
浏览文件

Merge branch 'aw-remove-unused-code-build-report-result' into 'master'

Remove unused method from BuildReportResult

See merge request gitlab-org/gitlab!91059
No related branches found
No related tags found
无相关合并请求
...@@ -39,9 +39,5 @@ def tests_skipped ...@@ -39,9 +39,5 @@ def tests_skipped
def suite_error def suite_error
tests.dig("suite_error") tests.dig("suite_error")
end end
def tests_total
[tests_success, tests_failed, tests_errored, tests_skipped].sum
end
end end
end end
...@@ -70,10 +70,4 @@ ...@@ -70,10 +70,4 @@
expect(build_report_result.tests_skipped).to eq(0) expect(build_report_result.tests_skipped).to eq(0)
end end
end end
describe '#tests_total' do
it 'returns the total count' do
expect(build_report_result.tests_total).to eq(2)
end
end
end end
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册