Remove ReviewDb parameter from PushOneCommit.Factory methods

Change-Id: I81d26afc961496afbbeceabd304469e9613871b8
Signed-off-by: Edwin Kempin <ekempin@google.com>
This commit is contained in:
Edwin Kempin
2018-12-12 08:52:39 +01:00
committed by Dave Borowitz
parent 7697a556b8
commit 53cd95966f
47 changed files with 211 additions and 364 deletions

View File

@@ -581,7 +581,7 @@ public class SubmoduleSubscriptionsIT extends AbstractSubmoduleSubscription {
// Create change as user.
PushOneCommit push =
pushFactory.create(db, user.getIdent(), repo2, "Change 2", "b.txt", "other content");
pushFactory.create(user.getIdent(), repo2, "Change 2", "b.txt", "other content");
PushOneCommit.Result pushResult2 = push.to("refs/for/master/" + name(topic));
approve(pushResult2.getChangeId());