From a477e2910e9bfef1e37dafab20a6adb5e02d2cbf Mon Sep 17 00:00:00 2001
From: juanf <juanf@ethz.ch>
Date: Thu, 2 Feb 2023 14:58:51 +0100
Subject: [PATCH] SSDM-13195 : Fixing Test related with changes needed to make
 Hibernate changes

---
 .../cisd/openbis/generic/server/business/bo/SampleBOTest.java  | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/server/business/bo/SampleBOTest.java b/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/server/business/bo/SampleBOTest.java
index c19a57da9c3..1ba56ddbeb0 100644
--- a/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/server/business/bo/SampleBOTest.java
+++ b/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/server/business/bo/SampleBOTest.java
@@ -885,6 +885,9 @@ public final class SampleBOTest extends AbstractBOTest
                     one(sampleTypeDAO).tryFindSampleTypeByCode(DILUTION_PLATE);
                     will(returnValue(new SampleTypePE()));
 
+                    one(permIdDAO).createPermId();
+                    will(returnValue("2023010112341234-10"));
+
                     one(propertiesConverter).convertProperties(IEntityProperty.EMPTY_ARRAY, null,
                             EXAMPLE_PERSON);
 
-- 
GitLab