diff --git a/screening/sourceTest/java/ch/systemsx/cisd/openbis/plugin/screening/server/logic/ScreeningApiImplTest.java b/screening/sourceTest/java/ch/systemsx/cisd/openbis/plugin/screening/server/logic/ScreeningApiImplTest.java
index 3b75564581bc786dafb0d72c92afd967b57a18b8..aaa7aa32b537ca00ad45fba2b35c4ea55656ace9 100644
--- a/screening/sourceTest/java/ch/systemsx/cisd/openbis/plugin/screening/server/logic/ScreeningApiImplTest.java
+++ b/screening/sourceTest/java/ch/systemsx/cisd/openbis/plugin/screening/server/logic/ScreeningApiImplTest.java
@@ -529,6 +529,7 @@ public class ScreeningApiImplTest extends AbstractServerTestCase
         sampleType.setGeneratedFromHierarchyDepth(1);
         sampleType.setListable(false);
         sampleType.setAutoGeneratedCode(false);
+        sampleType.setShowParentMetadata(false);
         sampleType.setSubcodeUnique(false);
         sample.setSampleType(sampleType);
         return sample;