From 0d3f85125b64d3774e87c5c3df54ae8b8d5adf4b Mon Sep 17 00:00:00 2001 From: Jo Shields Date: Mon, 1 Jun 2015 11:12:55 +0100 Subject: [PATCH] Test fix for c6ccdb5e900c016e0f2089c843d0de88d141ff26 --- src/test/java/org/jenkinsci/plugins/ghprb/GhprbTestUtil.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/test/java/org/jenkinsci/plugins/ghprb/GhprbTestUtil.java b/src/test/java/org/jenkinsci/plugins/ghprb/GhprbTestUtil.java index 611cad4ec..072872118 100644 --- a/src/test/java/org/jenkinsci/plugins/ghprb/GhprbTestUtil.java +++ b/src/test/java/org/jenkinsci/plugins/ghprb/GhprbTestUtil.java @@ -128,6 +128,7 @@ public static GhprbTrigger getTrigger(Map 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); @@ -149,6 +150,7 @@ public static GhprbTrigger getTrigger(Map 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"), @@ -181,4 +183,4 @@ public static void triggerRunAndWait(int numOfTriggers, GhprbTrigger trigger, Ab private GhprbTestUtil() {} -} \ No newline at end of file +}