From 094460ae1592187bcafd6bbe1ca05d46e2e89a0f Mon Sep 17 00:00:00 2001
From: Romain Courteaud <romain@nexedi.com>
Date: Thu, 9 Nov 2023 16:40:46 +0000
Subject: [PATCH] slapos_crm: test: fixup instance tree creation

---
 .../test.erp5.testSlapOSCRMRegularisationRequestSkins.py  | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/master/bt5/slapos_crm/TestTemplateItem/portal_components/test.erp5.testSlapOSCRMRegularisationRequestSkins.py b/master/bt5/slapos_crm/TestTemplateItem/portal_components/test.erp5.testSlapOSCRMRegularisationRequestSkins.py
index e5c914e4f..f1122f04d 100644
--- a/master/bt5/slapos_crm/TestTemplateItem/portal_components/test.erp5.testSlapOSCRMRegularisationRequestSkins.py
+++ b/master/bt5/slapos_crm/TestTemplateItem/portal_components/test.erp5.testSlapOSCRMRegularisationRequestSkins.py
@@ -426,7 +426,13 @@ class TestSlapOSInstanceTree_stopFromRegularisationRequest(
         .newContent(portal_type="Instance Tree")
     instance_tree.edit(
       reference="TESTHS-%s" % new_id,
-      follow_up_value=project
+      follow_up_value=project,
+      url_string=self.generateNewSoftwareReleaseUrl(),
+      title=self.generateNewSoftwareTitle(),
+      source_reference=self.generateNewSoftwareType(),
+      text_content=self.generateSafeXml(),
+      sla_xml=self.generateSafeXml(),
+      root_slave=False
     )
     instance_tree.validate()
     self.portal.portal_workflow._jumpToStateFor(
-- 
2.30.9