Skip to content

Commit

Permalink
531 Fix eq v2 schema version (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamHawtin authored Nov 4, 2022
1 parent d23a17b commit 88b5aed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
public class EqPayloadBuilder {

private static final Set<String> ALLOWED_LANGUAGE_CODES = Set.of("cy", "en");
public static final String EQ_SCHEMA_VERSION = "V2";
public static final String EQ_SCHEMA_VERSION = "v2";

private final String responseIdPepper;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ void testBuildEqPayload() {
assertThat(eqPayload.get("collection_exercise_sid"))
.isEqualTo(caseUpdateDTO.getCollectionExerciseId());
assertThat(eqPayload.get("language_code")).isEqualTo(LANGUAGE_CODE);
assertThat(eqPayload.get("version")).isEqualTo("V2");
assertThat(eqPayload.get("version")).isEqualTo("v2");
assertThat(eqPayload.get("response_id").toString())
.isEqualTo(getExpectedEncryptedResponseId(uacUpdateDTO.getQid()));
assertThat(eqPayload.get("schema_name")).isEqualTo(uacUpdateDTO.getCollectionInstrumentUrl());
Expand Down

0 comments on commit 88b5aed

Please sign in to comment.