diff options
author | vasraz <vasyl.razinkov@est.tech> | 2023-02-09 17:57:56 +0000 |
---|---|---|
committer | Vasyl Razinkov <vasyl.razinkov@est.tech> | 2023-02-10 09:45:37 +0000 |
commit | f7dee08d8e56fc023aeb6f12aa2f688978545e01 (patch) | |
tree | 06e6c3a764def525bab0f32514fa397ed23db6e5 /catalog-model/src/test/java/org | |
parent | 9c057c26f14de77dff432403941322edaca7ea4e (diff) |
Add support for delete property from non-normative data type
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: I668b1e7f7d00e97b7827d759766e105fdd53ed53
Issue-ID: SDC-4378
Diffstat (limited to 'catalog-model/src/test/java/org')
-rw-r--r-- | catalog-model/src/test/java/org/openecomp/sdc/be/model/operations/impl/ModelOperationTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/operations/impl/ModelOperationTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/operations/impl/ModelOperationTest.java index 8fe89216fa..1bd4d9dbac 100644 --- a/catalog-model/src/test/java/org/openecomp/sdc/be/model/operations/impl/ModelOperationTest.java +++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/operations/impl/ModelOperationTest.java @@ -613,7 +613,7 @@ class ModelOperationTest extends ModelTestBase { property.setRequired(true); String dataTypeName = "tosca.datatypes.nfv.PreviouslyExistingType1"; - modelOperation.addPropertyToAdditionalType(ElementTypeEnum.DATA_TYPE, property, modelName, dataTypeName); + modelOperation.updatePropertyInAdditionalType(ElementTypeEnum.DATA_TYPE, property, modelName, dataTypeName, true); ArgumentCaptor<List<ToscaImportByModel>> importListArgumentCaptor = ArgumentCaptor.forClass(List.class); verify(toscaModelImportCassandraDao).saveAll(eq(modelName), importListArgumentCaptor.capture()); |