Commit 3c953e18 authored by Romain Courteaud's avatar Romain Courteaud

slapos_json_rpc_api: tests

parent abebfca0
......@@ -1462,7 +1462,8 @@ class TestSlapOSSlapToolPersonAccess(TestSlapOSJsonRpcMixin):
self.tic()
requested_instance_tree = self.portal.portal_catalog.getResultValue(
portal_type='Instance Tree',
title="req_reference"
title="req_reference",
follow_up__uid=self.project.getUid()
)
self.assertEqual(requested_instance_tree.getDestinationSectionValue().getUserId(), self.person_user_id)
self.assertEqual(requested_instance_tree.getFollowUpReference(), project_reference)
......@@ -1496,7 +1497,8 @@ class TestSlapOSSlapToolPersonAccess(TestSlapOSJsonRpcMixin):
self.tic()
requested_instance_tree = self.portal.portal_catalog.getResultValue(
portal_type='Instance Tree',
title="req_reference"
title="req_reference",
follow_up__uid=self.project.getUid()
)
self.assertEqual(requested_instance_tree.getDestinationSectionValue().getUserId(), self.person_user_id)
self.assertEqual(requested_instance_tree.getFollowUpReference(), project_reference)
......
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