diff --git a/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/shared/api/common/json/AbstractGenericObjectMapperTestResources/objectWithNameThatExistsOnlyInV3.json b/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/shared/api/common/json/AbstractGenericObjectMapperTestResources/objectWithNameThatExistsOnlyInV3.json index a79a8f1b5df625b8f76fc9ac9e134928b1a55ca7..4fb6fddf02b46a58a4c1405cb609fe8bc0ce2dce 100644 --- a/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/shared/api/common/json/AbstractGenericObjectMapperTestResources/objectWithNameThatExistsOnlyInV3.json +++ b/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/shared/api/common/json/AbstractGenericObjectMapperTestResources/objectWithNameThatExistsOnlyInV3.json @@ -1,4 +1,4 @@ { - "@type" : "dto.id.sample.SamplePermId", + "@type" : "dto.sample.id.SamplePermId", "permId" : "TEST_PERM_ID" } diff --git a/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/shared/api/v3/json/GenericObjectMapperTest.java b/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/shared/api/v3/json/GenericObjectMapperTest.java index 649dd16356a08128ee777fc9cda18a1d2bf11041..50d12c1d4dbe1d6f0343595b2c9639dee7868da1 100644 --- a/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/shared/api/v3/json/GenericObjectMapperTest.java +++ b/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/shared/api/v3/json/GenericObjectMapperTest.java @@ -46,7 +46,7 @@ public class GenericObjectMapperTest extends AbstractGenericObjectMapperTest public void testObjectWithNameThatExistsOnlyInV3IsDeserializedAsV3() throws Exception { SamplePermId permId = deserialize("objectWithNameThatExistsOnlyInV3.json"); - Assert.assertEquals("ch.ethz.sis.openbis.generic.shared.api.v3.dto.id.sample.SamplePermId", permId.getClass().getName()); + Assert.assertEquals("ch.ethz.sis.openbis.generic.as.api.v3.dto.sample.id.SamplePermId", permId.getClass().getName()); Assert.assertEquals("TEST_PERM_ID", permId.getPermId()); }