Skip to content

Commit 0e29dd0

Browse files
committed
fix tests
1 parent fb862fb commit 0e29dd0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/test-javalin-jsonb/src/test/java/org/example/myapp/HelloControllerTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ void getWithPathParamAndQueryParam() {
9696
assertThat(bean.otherParam).isEqualTo("other");
9797

9898
final HelloDto dto = client.request()
99-
.path("hello/43/2020-03-05").queryParam("otherParam", "other").queryParam("foo", null)
99+
.path("hello/43/2020-03-05").queryParam("otherParam", "other").queryParam("foo", (String) null)
100100
.GET().bean(HelloDto.class);
101101

102102
assertThat(dto.id).isEqualTo(43L);

tests/test-javalin/src/test/java/org/example/myapp/HelloControllerTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ void getWithPathParamAndQueryParam() {
9898
assertThat(bean.otherParam).isEqualTo("other");
9999

100100
final HelloDto dto = client.request()
101-
.path("hello/43/2020-03-05").queryParam("otherParam", "other").queryParam("foo", null)
101+
.path("hello/43/2020-03-05").queryParam("otherParam", "other").queryParam("foo", (String) null)
102102
.GET().bean(HelloDto.class);
103103

104104
assertThat(dto.id).isEqualTo(43L);

0 commit comments

Comments
 (0)