From 6745b42935534c17227fe813dd8e93c8371acda5 Mon Sep 17 00:00:00 2001 From: felmer <felmer> Date: Wed, 19 Nov 2008 10:11:18 +0000 Subject: [PATCH] LMS-645 broken test fixed SVN: 9028 --- .../server/business/bo/EntityPropertiesConverterTest.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/server/business/bo/EntityPropertiesConverterTest.java b/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/server/business/bo/EntityPropertiesConverterTest.java index 28e9aa2728d..b7710a83eda 100644 --- a/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/server/business/bo/EntityPropertiesConverterTest.java +++ b/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/server/business/bo/EntityPropertiesConverterTest.java @@ -39,6 +39,7 @@ import ch.systemsx.cisd.openbis.generic.server.dataaccess.IEntityPropertyTypeDAO import ch.systemsx.cisd.openbis.generic.server.dataaccess.IEntityTypeDAO; import ch.systemsx.cisd.openbis.generic.server.dataaccess.IPropertyTypeDAO; import ch.systemsx.cisd.openbis.generic.shared.dto.DataTypePE; +import ch.systemsx.cisd.openbis.generic.shared.dto.DatabaseInstancePE; import ch.systemsx.cisd.openbis.generic.shared.dto.EntityPropertyPE; import ch.systemsx.cisd.openbis.generic.shared.dto.EntityType; import ch.systemsx.cisd.openbis.generic.shared.dto.EntityTypePropertyTypePE; @@ -262,6 +263,9 @@ public class EntityPropertiesConverterTest materialTypePE.setId(materialTypeId); materialTypePE.setCode(materialTypeCode); materialTypePE.setDescription(""); + DatabaseInstancePE databaseInstancePE = new DatabaseInstancePE(); + databaseInstancePE.setCode("db"); + materialTypePE.setDatabaseInstance(databaseInstancePE); return materialTypePE; } -- GitLab