Skip to content

Commit

Permalink
Test fix for c6ccdb5
Browse files Browse the repository at this point in the history
  • Loading branch information
directhex committed Jun 1, 2015
1 parent c6ccdb5 commit 0d3f851
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/test/java/org/jenkinsci/plugins/ghprb/GhprbTestUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ public static GhprbTrigger getTrigger(Map<String, Object> values) throws ANTLREx
put("cron", "0 0 31 2 0");
put("triggerPhrase", "retest this please");
put("onlyTriggerPhrase", false);
put("suppressTestingRequest", false);
put("useGitHubHooks", false);
put("permitAll", false);
put("autoCloseFailedPullRequests", false);
Expand All @@ -149,6 +150,7 @@ public static GhprbTrigger getTrigger(Map<String, Object> values) throws ANTLREx
(String)defaultValues.get("cron"),
(String)defaultValues.get("triggerPhrase"),
(Boolean)defaultValues.get("onlyTriggerPhrase"),
(Boolean)defaultValues.get("suppressTestingRequest"),
(Boolean)defaultValues.get("useGitHubHooks"),
(Boolean)defaultValues.get("permitAll"),
(Boolean)defaultValues.get("autoCloseFailedPullRequests"),
Expand Down Expand Up @@ -181,4 +183,4 @@ public static void triggerRunAndWait(int numOfTriggers, GhprbTrigger trigger, Ab

private GhprbTestUtil() {}

}
}

0 comments on commit 0d3f851

Please sign in to comment.