Skip to content

Commit

Permalink
fix: e2e test assert for updated message
Browse files Browse the repository at this point in the history
  • Loading branch information
jbee committed Jan 22, 2025
1 parent a2e9af5 commit 1cc1557
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ void testInvalidSourceUid() {
.body(
"message",
equalTo(
"JSON parse error: Cannot construct instance of `org.hisp.dhis.common.UID`, problem: UID must be an alphanumeric string of 11 characters starting with a letter."));
"JSON parse error: Cannot construct instance of `org.hisp.dhis.common.UID`, problem: UID must be an alphanumeric string of 11 characters starting with a letter, but was: invalid"));
}

@Test
Expand All @@ -97,7 +97,7 @@ void testInvalidTargetUid() {
.body(
"message",
equalTo(
"JSON parse error: Cannot construct instance of `org.hisp.dhis.common.UID`, problem: UID must be an alphanumeric string of 11 characters starting with a letter."));
"JSON parse error: Cannot construct instance of `org.hisp.dhis.common.UID`, problem: UID must be an alphanumeric string of 11 characters starting with a letter, but was: invalid"));
}

@Test
Expand Down

0 comments on commit 1cc1557

Please sign in to comment.