diff --git a/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/server/dataaccess/db/EntityPropertyTypeDAOTest.java b/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/server/dataaccess/db/EntityPropertyTypeDAOTest.java index 813e2854592f55e9eb264d60a039067b073d1f1a..7f0bb03df2eb7b461d024d1b9235ba8220dd8a87 100644 --- a/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/server/dataaccess/db/EntityPropertyTypeDAOTest.java +++ b/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/server/dataaccess/db/EntityPropertyTypeDAOTest.java @@ -152,7 +152,7 @@ public class EntityPropertyTypeDAOTest extends AbstractDAOTest int afterDeletionPropertiesRowCount = countRowsInTable(TableNames.EXPERIMENT_PROPERTIES_TABLE); - assertEquals(beforeDeletionPropertiesRowCount - 7, afterDeletionPropertiesRowCount); + assertEquals(beforeDeletionPropertiesRowCount - 8, afterDeletionPropertiesRowCount); } private EntityTypePropertyTypePE tryToGetAssignment(EntityKind entityKind, diff --git a/openbis/sourceTest/java/ch/systemsx/cisd/openbis/plugin/generic/server/GenericServerDatabaseTest.java b/openbis/sourceTest/java/ch/systemsx/cisd/openbis/plugin/generic/server/GenericServerDatabaseTest.java index 307807ced971459b02335c581c8f5fb24b08d7a2..550b003d386b82b23d8e61dde601361ea501965e 100644 --- a/openbis/sourceTest/java/ch/systemsx/cisd/openbis/plugin/generic/server/GenericServerDatabaseTest.java +++ b/openbis/sourceTest/java/ch/systemsx/cisd/openbis/plugin/generic/server/GenericServerDatabaseTest.java @@ -352,7 +352,7 @@ public class GenericServerDatabaseTest extends AbstractDAOTest UpdatedBasicExperiment update = new UpdatedBasicExperiment(); update.setIdentifier("/TEST-SPACE/TEST-PROJECT/EXP-SPACE-TEST"); update.setProperties(new IEntityProperty[] { property }); - update.setBatchUpdateDetails(new ExperimentBatchUpdateDetails()); + update.setBatchUpdateDetails(new ExperimentBatchUpdateDetails(Collections.singleton("DESCRIPTION"))); ExperimentType type = new ExperimentType(); type.setCode("SIRNA_HCS"); diff --git a/openbis/sourceTest/java/ch/systemsx/cisd/openbis/remoteapitest/api/v1/GeneralInformationServiceJsonApiTest.java b/openbis/sourceTest/java/ch/systemsx/cisd/openbis/remoteapitest/api/v1/GeneralInformationServiceJsonApiTest.java index cb78eca098f4ca7f92d92b4366ca5e40a55b0bab..cded305ed1ebfbe3f81cf7f15e570d84d9c5262f 100644 --- a/openbis/sourceTest/java/ch/systemsx/cisd/openbis/remoteapitest/api/v1/GeneralInformationServiceJsonApiTest.java +++ b/openbis/sourceTest/java/ch/systemsx/cisd/openbis/remoteapitest/api/v1/GeneralInformationServiceJsonApiTest.java @@ -282,7 +282,7 @@ public class GeneralInformationServiceJsonApiTest extends RemoteApiTestCase ec.addMatchClause(MatchClause.createPropertyMatch("DESCRIPTION", "A simple experiment")); sc.addSubCriteria(SearchSubCriteria.createExperimentCriteria(ec)); List<Sample> result = generalInformationService.searchForSamples(sessionToken, sc); - assertEquals(2, result.size()); + assertEquals(9, result.size()); } @Test