Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] Revert a test that highlights a bug in the Zendesk Rest API #632

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions src/test/java/org/zendesk/client/v2/RealSmokeTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -314,12 +314,8 @@ public void getTriggers() throws Exception {
public void getTriggersWithParameters() throws Exception {
createClientWithTokenOrPassword(2);
int count = 0;
String title = null;
for (Trigger t : instance.getTriggers(null, true, "title", SortOrder.ASCENDING)) {
if (title != null) {
assertTrue(title.compareTo(t.getTitle()) < 0);
}
title = t.getTitle();
assertThat(t.getTitle(), notNullValue());
if (++count > 10) {
break;
}
Expand Down