diff options
author | Martin Damovsky <martin.damovsky@gmail.com> | 2017-02-18 20:09:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-18 20:09:33 +0100 |
commit | 82acdec9d68fcd7b8236b2b0cede41699dd9f8df (patch) | |
tree | 13313a60f64efa2ba331cde5cf3530cd3c6c208b /src/test | |
parent | 4d68c41fa4c6de12a810bced69041f2824f73945 (diff) | |
parent | a6374a41b6ad80ca586a606823f6b22f5c5c4193 (diff) | |
download | bbprb-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.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"); |