Commit b009d8b9 authored by Jérome Perrin's avatar Jérome Perrin

test_result: add Reference property sheet on Test Suite Repository

This property sheet was missing, but test passed because both the
setSourceReference and getSourceReference were acquired

/reviewed-on nexedi/erp5!998
parent 2a0d8e8f
Pipeline #6989 failed with stage
in 0 seconds
......@@ -64,6 +64,7 @@
</portal_type>
<portal_type id="Test Suite Repository">
<item>Arrow</item>
<item>Reference</item>
<item>TestSuiteRepository</item>
<item>TestSuiteRepositoryConstraint</item>
</portal_type>
......
......@@ -1644,8 +1644,8 @@ class TestGitlabRESTConnectorInterface(ERP5TypeTestCase):
self.tic()
def test_status_per_test_result_line(self):
self.test_suite.test_repo.setSourceReference(
'test_result_line')
self.test_suite.test_repo.edit(
source_reference='test_result_line')
self.test_result.newContent(
portal_type='Test Result Line',
title='this test_result_line is OK',
......@@ -1672,8 +1672,8 @@ class TestGitlabRESTConnectorInterface(ERP5TypeTestCase):
self.tic()
def test_status_per_test_result_line_multiple_matches(self):
self.test_suite.test_repo.setSourceReference(
'test_result_line')
self.test_suite.test_repo.edit(
source_reference='test_result_line')
self.test_result.newContent(
portal_type='Test Result Line',
title='this test_result_line is OK',
......
......@@ -27,6 +27,7 @@ Test Result | Comment
Test Result | SortIndex
Test Result | Task
Test Suite Repository | Arrow
Test Suite Repository | Reference
Test Suite Repository | TestSuiteRepository
Test Suite Repository | TestSuiteRepositoryConstraint
Test Suite | Arrow
......
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