Skip to content

Commit

Permalink
fix: fixed tests for safelist getters
Browse files Browse the repository at this point in the history
  • Loading branch information
tiwarishubham635 committed Nov 22, 2023
1 parent ea52766 commit c5ad096
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/java/unit-test/rest/TwilioRestTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -1281,8 +1281,8 @@ public void testSafelistObjectCreation() {
InputStream targetStream = new ByteArrayInputStream(initialString.getBytes());
Safelist safelistInputStream = Safelist.fromJson(targetStream, objectMapper);

assertEquals((String)123, safelistString.getPhoneNumber());
assertEquals((String)123, safelistInputStream.getPhoneNumber());
assertEquals((String)"123", safelistString.getPhoneNumber());
assertEquals((String)"123", safelistInputStream.getPhoneNumber());
}

@Test(expected = ApiException.class)
Expand Down

0 comments on commit c5ad096

Please sign in to comment.