commit | afb69c372ab2355072520f29fee87bd3ef7dac46 | [log] [tgz] |
---|---|---|
author | Stephen Li <stephenli@google.com> | Tue Mar 14 17:00:12 2017 -0700 |
committer | Stephen Li <stephenli@google.com> | Tue Mar 14 17:01:30 2017 -0700 |
tree | db1f30d53dee2c917608cafdffea3bf4045d6cea | |
parent | ef0874772240378ba4626a93830ef202423488a3 [diff] |
Fix test for skipOnlyOnSpecificRef Change-Id: I895f9e316674add9419bafed6e41a8cb896d253e
diff --git a/src/test/java/com/googlesource/gerrit/plugins/uploadvalidator/SkipValidationTest.java b/src/test/java/com/googlesource/gerrit/plugins/uploadvalidator/SkipValidationTest.java index 6a8fda1..3f4276d 100644 --- a/src/test/java/com/googlesource/gerrit/plugins/uploadvalidator/SkipValidationTest.java +++ b/src/test/java/com/googlesource/gerrit/plugins/uploadvalidator/SkipValidationTest.java
@@ -122,7 +122,8 @@ new FakeGroupCacheUUIDByName()); assertThat( - validatorConfig.isEnabledForRef(anyUser, projectName, + validatorConfig.isEnabledForRef( + new FakeUserProvider("testGroup").get(), projectName, "refs/heads/myref", "testOp")).isFalse(); }