Skip to content

Commit

Permalink
Fixes failing tests in structr-core testsuite.
Browse files Browse the repository at this point in the history
  • Loading branch information
ckramp committed Apr 12, 2024
1 parent 6f44886 commit 440b71a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ public void testRESTParameterConversionInJavascriptMethod() {
.contentType("application/json; charset=UTF-8")
.expect()
.statusCode(200)
.body("result.date", equalTo("Sat Jan 01 00:00:00 UTC 2022"))
.body("result.date", equalTo("2022-01-01T00:00Z[UTC]"))
.body("result.isDate", equalTo(true))
.when()
.post("/BaseType/" + base + "/test3");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public void testBasicRoundTrip() {
.expect()
.statusCode(201)
.when()
.post("/test_threes")
.post("/TestThree")
.getHeader("Location");


Expand All @@ -49,7 +49,7 @@ public void testBasicRoundTrip() {
.statusCode(200)
.body("result[0].testEnumArray", equalTo("Status1,Status3"))
.when()
.get("/test_threes");
.get("/TestThree");

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public void testBasicRoundTrip() {
.expect()
.statusCode(201)
.when()
.post("/test_threes")
.post("/TestThree")
.getHeader("Location");


Expand All @@ -49,7 +49,7 @@ public void testBasicRoundTrip() {
.statusCode(200)
.body("result[0].zonedDateTime", equalTo("2013-04-05T10:43:40+02:00"))
.when()
.get("/test_threes");
.get("/TestThree");

}
}

0 comments on commit 440b71a

Please sign in to comment.