Skip to content
Snippets Groups Projects
Commit ace579bb authored by Stanisław Bieniecki's avatar Stanisław Bieniecki Committed by Marc Burnie [AWS]
Browse files

Remove unnecessary feature flag mocks

(cherry picked from commit 469599fa)
parent 2551c890
No related branches found
No related tags found
1 merge request!874Cherry-pick 'Fix mapping boolean values to string' into release/0.28
......@@ -288,7 +288,6 @@ public class StorageIndexerPayloadMapperTest {
@Test
public void mapDataPayloadTestAsIngestedCoordinates() {
when(this.featureFlagChecker.isFeatureEnabled(AS_INGESTED_COORDINATES_FEATURE_NAME)).thenReturn(true);
when(this.featureFlagChecker.isFeatureEnabled(MAP_BOOL2STRING_FEATURE_NAME)).thenReturn(true);
ArrayList<String> asIngestedCoordinatesPaths = new ArrayList<>(Arrays.asList("SpatialLocation.AsIngestedCoordinates"));
Map<String, Object> storageRecordData = new HashMap<>();
......@@ -325,7 +324,6 @@ public class StorageIndexerPayloadMapperTest {
@Test
public void mapDataPayloadTestAsIngestedCoordinatesGeographicBottomHoleLocationAndSpatialLocation() {
when(this.featureFlagChecker.isFeatureEnabled(AS_INGESTED_COORDINATES_FEATURE_NAME)).thenReturn(true);
when(this.featureFlagChecker.isFeatureEnabled(MAP_BOOL2STRING_FEATURE_NAME)).thenReturn(true);
ArrayList<String> asIngestedCoordinatesPaths = new ArrayList<>(Arrays.asList("GeographicBottomHoleLocation.AsIngestedCoordinates", "SpatialLocation.AsIngestedCoordinates"));
Map<String, Object> storageRecordData = new HashMap<>();
......@@ -389,7 +387,6 @@ public class StorageIndexerPayloadMapperTest {
@Test
public void mapDataPayloadTestAsIngestedCoordinatesWithEmptyZCoordinate() {
when(this.featureFlagChecker.isFeatureEnabled(AS_INGESTED_COORDINATES_FEATURE_NAME)).thenReturn(true);
when(this.featureFlagChecker.isFeatureEnabled(MAP_BOOL2STRING_FEATURE_NAME)).thenReturn(true);
ArrayList<String> asIngestedCoordinatesPaths = new ArrayList<>(Arrays.asList("SpatialLocation.AsIngestedCoordinates"));
Map<String, Object> storageRecordData = new HashMap<>();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment