Skip to content

Commit

Permalink
add log to check response
Browse files Browse the repository at this point in the history
  • Loading branch information
david-mackessy committed Dec 11, 2024
1 parent 52e4a64 commit ecbd7dd
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ecbd7dd

Please sign in to comment.