diff --git a/memex/src/test/java/com/johnlpage/memex/cucumber/steps/InspectionsPreConditionSteps.java b/memex/src/test/java/com/johnlpage/memex/cucumber/steps/InspectionsPreConditionSteps.java index b8c6f25..4261cf8 100644 --- a/memex/src/test/java/com/johnlpage/memex/cucumber/steps/InspectionsPreConditionSteps.java +++ b/memex/src/test/java/com/johnlpage/memex/cucumber/steps/InspectionsPreConditionSteps.java @@ -129,7 +129,7 @@ private void deleteInspectionsViaApi(List idsToDelete) throws JsonProcessi try { log.info("apiBaseUrl: {}", apiBaseUrl); ResponseEntity response = restClient.post() - .uri(apiBaseUrl + "/api/inspections?updateStrategy=UPDATEWITHHISTORY&futz=true") + .uri(apiBaseUrl + "/api/inspections?updateStrategy=UPDATEWITHHISTORY") .contentType(MediaType.APPLICATION_JSON) .body(jsonPayload) .retrieve() @@ -158,7 +158,7 @@ private void upsertInspectionsViaApi(List inspections) throws try { ResponseEntity response = restClient.post() - .uri(apiBaseUrl + "/api/inspections?updateStrategy=UPDATEWITHHISTORY&futz=true") + .uri(apiBaseUrl + "/api/inspections?updateStrategy=UPDATEWITHHISTORY") .contentType(MediaType.APPLICATION_JSON) .body(jsonPayload) .retrieve() diff --git a/memex/src/test/resources/features/inspections.rest.streams.feature b/memex/src/test/resources/features/inspections.rest.streams.feature index 8e96b78..d53753c 100644 --- a/memex/src/test/resources/features/inspections.rest.streams.feature +++ b/memex/src/test/resources/features/inspections.rest.streams.feature @@ -4,9 +4,9 @@ Feature: Vehicle Inspection REST API - Data Streaming Capabilities It includes tests for loading multiple inspections in a single stream request and for streaming out existing inspection data in JSON format. @post @load_stream @sunny_day - Scenario Outline: Successfully load a stream of vehicle inspections with different update strategies and futz options + Scenario Outline: Successfully load a stream of vehicle inspections with different update strategies Given the vehicle inspections in range 10001-10008 do not exist - When I send a POST request to "/api/inspections?updateStrategy=&futz=" with the payload: + When I send a POST request to "/api/inspections?updateStrategy=" with the payload: """ [ { @@ -54,18 +54,18 @@ Feature: Vehicle Inspection REST API - Data Streaming Capabilities And the response should contain "success": true Examples: - | strategy | futz | id1 | id2 | - | REPLACE | false | 10001 | 10002 | - | UPDATE | false | 10003 | 10004 | - | UPDATEWITHHISTORY | true | 10005 | 10006 | - | REPLACE | true | 10007 | 10008 | + | strategy | id1 | id2 | + | REPLACE | 10001 | 10002 | + | UPDATE | 10003 | 10004 | + | UPDATEWITHHISTORY | 10005 | 10006 | + | REPLACE | 10007 | 10008 | @post @load_stream @sunny_day Scenario: Successfully delete a vehicle inspection Given the following vehicle inspections exist: | vehicleinspection | | {"testid": 10007} | - When I send a POST request to "/api/inspections?updateStrategy=UPDATEWITHHISTORY&futz=true" with the payload: + When I send a POST request to "/api/inspections?updateStrategy=UPDATEWITHHISTORY" with the payload: """ [ {