ChangeField: Include starred changes in ref state for non-NoteDb

Change-Id: I078d37898ac65701b385605926e9e27828a5479a
This commit is contained in:
Dave Borowitz
2016-12-07 14:16:44 -05:00
parent 27d3f29137
commit f056428d3e
2 changed files with 5 additions and 5 deletions

View File

@@ -1728,8 +1728,8 @@ public abstract class AbstractQueryChangesTest extends GerritServerTests {
List<String> expectedPatterns = Lists.newArrayList(
"repo:refs/users/*/edit-" + c + "/*");
expectedPatterns.add("All-Users:refs/starred-changes/" + cs + "/*");
if (notesMigration.readChanges()) {
expectedPatterns.add("All-Users:refs/starred-changes/" + cs + "/*");
expectedPatterns.add("All-Users:refs/draft-comments/" + cs + "/*");
}
assertThat(