diff options
author | Olivier Bellemare <bitbucket@xob.ca> | 2016-10-27 10:49:17 -0400 |
---|---|---|
committer | Olivier Bellemare <bitbucket@xob.ca> | 2016-10-27 10:49:17 -0400 |
commit | a6374a41b6ad80ca586a606823f6b22f5c5c4193 (patch) | |
tree | 69e1a234ca3bb1cf2ef4071fc5315bc1f6b506fa /src/test/java/BitbucketBuildRepositoryTest.java | |
parent | 37d5d42e056d5faff0bbed119115a4cbe7c4e016 (diff) | |
download | bbprb-a6374a41b6ad80ca586a606823f6b22f5c5c4193.tar.gz |
Add option to cancel outdated builds when a pull request is updated
Diffstat (limited to 'src/test/java/BitbucketBuildRepositoryTest.java')
-rw-r--r-- | src/test/java/BitbucketBuildRepositoryTest.java | 12 |
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"); |