ChangeEditIT: Don't use reviewdb to look up patch sets
Change-Id: I9824a2dbbf293313bcaf35451529f9812accc9f0
This commit is contained in:

committed by
Edwin Kempin

parent
64ccb8ba68
commit
77d45ed0b2
@@ -781,8 +781,8 @@ public class ChangeEditIT extends AbstractDaemonTest {
|
||||
}
|
||||
|
||||
private PatchSet getCurrentPatchSet(String changeId) throws Exception {
|
||||
return db.patchSets()
|
||||
.get(getChange(changeId).currentPatchSetId());
|
||||
return getOnlyElement(queryProvider.get().byKeyPrefix(changeId))
|
||||
.currentPatchSet();
|
||||
}
|
||||
|
||||
private static void assertByteArray(BinaryResult result, byte[] expected)
|
||||
|
Reference in New Issue
Block a user