From 4b22835a6f0d0db8433682bb594c83fd32e8d0f2 Mon Sep 17 00:00:00 2001 From: Mark Chance <mark.chance@hitachivantara.com> Date: Thu, 3 Oct 2024 14:11:45 -0400 Subject: [PATCH] change expectations for feature flag off in virtual properties --- .../indexer/schema/converter/SchemaToStorageFormatImplTest.java | 2 -- .../unmatched-virtual-properties-schema.json.res | 2 +- .../index-virtual-properties/virtual-properties-schema.json.res | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/indexer-core/src/test/java/org/opengroup/osdu/indexer/schema/converter/SchemaToStorageFormatImplTest.java b/indexer-core/src/test/java/org/opengroup/osdu/indexer/schema/converter/SchemaToStorageFormatImplTest.java index c4ec5697e..07960a3db 100644 --- a/indexer-core/src/test/java/org/opengroup/osdu/indexer/schema/converter/SchemaToStorageFormatImplTest.java +++ b/indexer-core/src/test/java/org/opengroup/osdu/indexer/schema/converter/SchemaToStorageFormatImplTest.java @@ -156,7 +156,6 @@ public class SchemaToStorageFormatImplTest { } @Test - @Ignore public void virtualProperties_FFoff() { testSingleFile("/converter/index-virtual-properties/virtual-properties-schema.json", "osdu:wks:master-data--Wellbore:1.0.0", false); verify(this.virtualPropertiesSchemaCache, times(1)).put(Mockito.anyString(), Mockito.any()); @@ -176,7 +175,6 @@ public class SchemaToStorageFormatImplTest { } @Test - @Ignore public void unmatchedVirtualProperties_FFoff() { // The actual property "data.Facility" does not exist for "data.VirtualProperties.DefaultName" testSingleFile("/converter/index-virtual-properties/unmatched-virtual-properties-schema.json", "osdu:wks:master-data--Wellbore:1.0.0", false); diff --git a/indexer-core/src/test/resources/converter/index-virtual-properties/unmatched-virtual-properties-schema.json.res b/indexer-core/src/test/resources/converter/index-virtual-properties/unmatched-virtual-properties-schema.json.res index c27e6beef..91a70ee6e 100644 --- a/indexer-core/src/test/resources/converter/index-virtual-properties/unmatched-virtual-properties-schema.json.res +++ b/indexer-core/src/test/resources/converter/index-virtual-properties/unmatched-virtual-properties-schema.json.res @@ -335,6 +335,6 @@ "kind" : "string" }, { "path" : "VirtualProperties.DefaultLocation.IsDecimated", - "kind" : "bool" + "kind" : "boolean" }] } diff --git a/indexer-core/src/test/resources/converter/index-virtual-properties/virtual-properties-schema.json.res b/indexer-core/src/test/resources/converter/index-virtual-properties/virtual-properties-schema.json.res index d9d443e79..59998ea9e 100644 --- a/indexer-core/src/test/resources/converter/index-virtual-properties/virtual-properties-schema.json.res +++ b/indexer-core/src/test/resources/converter/index-virtual-properties/virtual-properties-schema.json.res @@ -338,6 +338,6 @@ "kind" : "string" }, { "path" : "VirtualProperties.DefaultLocation.IsDecimated", - "kind" : "bool" + "kind" : "boolean" }] } -- GitLab