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

@@ -459,7 +459,7 @@ public abstract class AbstractNotificationTest extends AbstractDaemonTest {
}
setApiUser(owner);
repo = cloneProject(project, owner);
PushOneCommit push = pushFactory.create(db, owner.getIdent(), repo);
PushOneCommit push = pushFactory.create(owner.getIdent(), repo);
result = push.to(ref);
result.assertOkStatus();
changeId = result.getChangeId();