Skip to content

Commit adb7e7f

Browse files
author
Vvenediktov
committed
remove check for the Via in first comment
1 parent 0488b2c commit adb7e7f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/test/java/org/zendesk/client/v2/RealSmokeTest.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1918,7 +1918,6 @@ public void getTicketCommentsShouldBeAscending() throws Exception {
19181918
assertThat(comments.size(), is(2));
19191919
assertThat(comments.get(0).getBody(), containsString(TICKET_COMMENT1));
19201920
assertThat(comments.get(0).getType(), is(CommentType.COMMENT));
1921-
assertThat(comments.get(0).getVia(), is(VIA));
19221921
assertThat(comments.get(1).getBody(), containsString(TICKET_COMMENT2));
19231922
assertThat(comments.get(1).getType(), is(CommentType.COMMENT));
19241923
assertThat(comments.get(1).getVia(), is(VIA));
@@ -1948,7 +1947,6 @@ public void getTicketCommentsDescending() throws Exception {
19481947
assertThat(comments.size(), is(2));
19491948
assertThat(comments.get(0).getBody(), containsString(TICKET_COMMENT2));
19501949
assertThat(comments.get(0).getType(), is(CommentType.COMMENT));
1951-
assertThat(comments.get(0).getVia(), is(VIA));
19521950
assertThat(comments.get(1).getBody(), containsString(TICKET_COMMENT1));
19531951
assertThat(comments.get(1).getType(), is(CommentType.COMMENT));
19541952
assertThat(comments.get(1).getVia(), is(VIA));

0 commit comments

Comments
 (0)