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 @@ ...@@ -64,6 +64,7 @@
</portal_type> </portal_type>
<portal_type id="Test Suite Repository"> <portal_type id="Test Suite Repository">
<item>Arrow</item> <item>Arrow</item>
<item>Reference</item>
<item>TestSuiteRepository</item> <item>TestSuiteRepository</item>
<item>TestSuiteRepositoryConstraint</item> <item>TestSuiteRepositoryConstraint</item>
</portal_type> </portal_type>
......
...@@ -1644,8 +1644,8 @@ class TestGitlabRESTConnectorInterface(ERP5TypeTestCase): ...@@ -1644,8 +1644,8 @@ class TestGitlabRESTConnectorInterface(ERP5TypeTestCase):
self.tic() self.tic()
def test_status_per_test_result_line(self): def test_status_per_test_result_line(self):
self.test_suite.test_repo.setSourceReference( self.test_suite.test_repo.edit(
'test_result_line') source_reference='test_result_line')
self.test_result.newContent( self.test_result.newContent(
portal_type='Test Result Line', portal_type='Test Result Line',
title='this test_result_line is OK', title='this test_result_line is OK',
...@@ -1672,8 +1672,8 @@ class TestGitlabRESTConnectorInterface(ERP5TypeTestCase): ...@@ -1672,8 +1672,8 @@ class TestGitlabRESTConnectorInterface(ERP5TypeTestCase):
self.tic() self.tic()
def test_status_per_test_result_line_multiple_matches(self): def test_status_per_test_result_line_multiple_matches(self):
self.test_suite.test_repo.setSourceReference( self.test_suite.test_repo.edit(
'test_result_line') source_reference='test_result_line')
self.test_result.newContent( self.test_result.newContent(
portal_type='Test Result Line', portal_type='Test Result Line',
title='this test_result_line is OK', title='this test_result_line is OK',
......
...@@ -27,6 +27,7 @@ Test Result | Comment ...@@ -27,6 +27,7 @@ Test Result | Comment
Test Result | SortIndex Test Result | SortIndex
Test Result | Task Test Result | Task
Test Suite Repository | Arrow Test Suite Repository | Arrow
Test Suite Repository | Reference
Test Suite Repository | TestSuiteRepository Test Suite Repository | TestSuiteRepository
Test Suite Repository | TestSuiteRepositoryConstraint Test Suite Repository | TestSuiteRepositoryConstraint
Test Suite | Arrow 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