diff --git a/rtd_phosphonetx/sourceTest/java/ch/systemsx/cisd/openbis/plugin/phosphonetx/server/RawDataServiceInternalTest.java b/rtd_phosphonetx/sourceTest/java/ch/systemsx/cisd/openbis/plugin/phosphonetx/server/RawDataServiceInternalTest.java
index 5ab829d8c4ee569d2486b23ef9a049c09d903ccf..a71064f4895784965f1c76d3132685646c8dd973 100644
--- a/rtd_phosphonetx/sourceTest/java/ch/systemsx/cisd/openbis/plugin/phosphonetx/server/RawDataServiceInternalTest.java
+++ b/rtd_phosphonetx/sourceTest/java/ch/systemsx/cisd/openbis/plugin/phosphonetx/server/RawDataServiceInternalTest.java
@@ -160,6 +160,7 @@ public class RawDataServiceInternalTest extends AbstractServerTestCase
                     sampleType.setAutoGeneratedCode(Boolean.FALSE);
                     sampleType.setGeneratedFromHierarchyDepth(0);
                     sampleType.setContainerHierarchyDepth(0);
+                    sampleType.setSubcodeUnique(false);
                     will(returnValue(sampleType));
 
                     one(sampleLister).list(with(new BaseMatcher<ListOrSearchSampleCriteria>()