Skip to content

Commit 1cf050e

Browse files
committed
Fix broken junit due to bad json
1 parent 2b34ab6 commit 1cf050e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/test/java/com/twilio/jwt/taskrouter/PolicyTest.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,8 @@ public void testToJson() throws IOException {
2727
.build();
2828

2929
Assert.assertEquals(
30-
"{\"url\":\"http://localhost\",\"method\":\"GET\",\"query_filter\",\"foo\":{\"required\":true},\"post_filter\",\"allow\":true}",
31-
p.toJson()
32-
);
30+
"{\"url\":\"http://localhost\",\"method\":\"GET\",\"query_filter\":{\"foo\":{\"required\":true}},\"post_filter\":{},\"allow\":true}",
31+
p.toJson());
3332
}
3433

3534
}

0 commit comments

Comments
 (0)