diff --git a/dhis-2/dhis-test-e2e/src/test/java/org/hisp/dhis/merge/CategoryOptionMergeTest.java b/dhis-2/dhis-test-e2e/src/test/java/org/hisp/dhis/merge/CategoryOptionMergeTest.java index db7ad8e0972b..55eea868e230 100644 --- a/dhis-2/dhis-test-e2e/src/test/java/org/hisp/dhis/merge/CategoryOptionMergeTest.java +++ b/dhis-2/dhis-test-e2e/src/test/java/org/hisp/dhis/merge/CategoryOptionMergeTest.java @@ -33,6 +33,7 @@ import static org.hamcrest.Matchers.hasItem; import static org.hamcrest.Matchers.hasItems; import static org.hamcrest.Matchers.hasSize; +import static org.junit.jupiter.api.Assertions.assertEquals; import com.google.gson.JsonArray; import com.google.gson.JsonObject; @@ -151,7 +152,8 @@ void validDataElementMergeTest() { } private void setupMetadata() { - metadataActions.post(metadata()).validateStatus(200); + ApiResponse apiResponse = metadataActions.post(metadata()).validateStatus(200); + assertEquals("test", apiResponse.getAsString()); } @Test