aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorMartin Damovsky <martin.damovsky@gmail.com>2017-02-18 20:09:33 +0100
committerGitHub <noreply@github.com>2017-02-18 20:09:33 +0100
commit82acdec9d68fcd7b8236b2b0cede41699dd9f8df (patch)
tree13313a60f64efa2ba331cde5cf3530cd3c6c208b /src/test
parent4d68c41fa4c6de12a810bced69041f2824f73945 (diff)
parenta6374a41b6ad80ca586a606823f6b22f5c5c4193 (diff)
downloadbbprb-82acdec9d68fcd7b8236b2b0cede41699dd9f8df.tar.gz
Merge pull request #9 from xob/cancel-outdated
Add option to cancel outdated builds when a pull request is updated
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/BitbucketBuildRepositoryTest.java12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/test/java/BitbucketBuildRepositoryTest.java b/src/test/java/BitbucketBuildRepositoryTest.java
index 953bd81..148e504 100644
--- a/src/test/java/BitbucketBuildRepositoryTest.java
+++ b/src/test/java/BitbucketBuildRepositoryTest.java
@@ -118,7 +118,8 @@ public class BitbucketBuildRepositoryTest {
"", true,
"", "", "",
true,
- true
+ true,
+ false
);
BitbucketPullRequestsBuilder builder = EasyMock.createMock(BitbucketPullRequestsBuilder.class);
@@ -148,7 +149,8 @@ public class BitbucketBuildRepositoryTest {
"", true,
"", "", "",
true,
- true
+ true,
+ false
);
BitbucketPullRequestsBuilder builder = EasyMock.createMock(BitbucketPullRequestsBuilder.class);
@@ -202,7 +204,8 @@ public class BitbucketBuildRepositoryTest {
"", true,
"jenkins", "Jenkins", "",
true,
- true
+ true,
+ false
);
BitbucketPullRequestsBuilder builder = EasyMock.createMock(BitbucketPullRequestsBuilder.class);
@@ -248,7 +251,8 @@ public class BitbucketBuildRepositoryTest {
"", true,
"jenkins-too-long-ci-key", "Jenkins", "",
true,
- true
+ true,
+ false
);
final MessageDigest MD5 = MessageDigest.getInstance("MD5");