AbstractDaemonTest: Add notesMigration
AbstractPushForReview and VisibleRefFilterIT both have a notesMigration member. Move it up to AbstractDaemonTest so it's reused by both, and can also be reused by other tests in future. Change-Id: I462bda4ddb0c62139f10ad273360b3987d9b1f2a
This commit is contained in:
@@ -33,7 +33,6 @@ import com.google.gerrit.extensions.common.LabelInfo;
|
||||
import com.google.gerrit.reviewdb.client.Change;
|
||||
import com.google.gerrit.server.notedb.NotesMigration;
|
||||
import com.google.gerrit.testutil.ConfigSuite;
|
||||
import com.google.inject.Inject;
|
||||
|
||||
import org.eclipse.jgit.lib.Config;
|
||||
import org.eclipse.jgit.revwalk.RevCommit;
|
||||
@@ -54,9 +53,6 @@ public abstract class AbstractPushForReview extends AbstractDaemonTest {
|
||||
return NotesMigration.allEnabledConfig();
|
||||
}
|
||||
|
||||
@Inject
|
||||
private NotesMigration notesMigration;
|
||||
|
||||
protected enum Protocol {
|
||||
// TODO(dborowitz): TEST.
|
||||
SSH, HTTP
|
||||
|
Reference in New Issue
Block a user