Skip to content

Commit 4d54db0

Browse files
committed
The test should ignore the case since this is how the Zendesk API operates
1 parent 9cd8c70 commit 4d54db0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ public void getTriggersWithParameters() throws Exception {
317317
String title = null;
318318
for (Trigger t : instance.getTriggers(null, true, "alphabetical", SortOrder.ASCENDING)) {
319319
if (title != null) {
320-
assertTrue(title.compareTo(t.getTitle()) < 0);
320+
assertTrue(title.compareToIgnoreCase(t.getTitle()) < 0);
321321
}
322322
title = t.getTitle();
323323
if (++count > 10) {

0 commit comments

Comments
 (0)