commit | 597d3f939ed4e1a0a656b33f5f6bb3a66694f515 | [log] [tgz] |
---|---|---|
author | Tao Zhou <taoalpha@google.com> | Mon Jul 13 09:43:54 2020 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Mon Jul 13 09:43:54 2020 +0000 |
tree | 1367e4bd39d73f35987cb3822aa7d76e4d071712 | |
parent | eb04758808403565de330755056751c15e213fe2 [diff] | |
parent | 96f83448e41e0facc352ecf2f6b3c3840034e47a [diff] |
Merge "Disable find-owners if code-owners is enabled"
diff --git a/src/test/java/com/googlesource/gerrit/plugins/findowners/OwnersValidatorIT.java b/src/test/java/com/googlesource/gerrit/plugins/findowners/OwnersValidatorIT.java index c5b61b3..a777e80 100644 --- a/src/test/java/com/googlesource/gerrit/plugins/findowners/OwnersValidatorIT.java +++ b/src/test/java/com/googlesource/gerrit/plugins/findowners/OwnersValidatorIT.java
@@ -72,7 +72,7 @@ private static class MockedCommitReceivedEvent extends CommitReceivedEvent { MockedCommitReceivedEvent(String project, RevWalk revWalk, RevCommit commit) { - this.project = new Project(Project.nameKey(project)); + this.project = Project.builder(Project.nameKey(project)).build(); this.revWalk = revWalk; this.commit = commit; this.refName = "master";