ProjectIT: Add tests for ref-updated events on project creation
When a new project is created its refs/meta/config branch is created with the project's initial config. This should result in a ref-updated event being emitted. These tests don't create the project with an initial empty commit, so there should therefore be no corresponding ref-updated event for the refs/heads/master branch. Change-Id: I5fadc4b8221637807aaa3275783cbb1228c6bbc9
This commit is contained in:
		@@ -867,6 +867,11 @@ public abstract class AbstractDaemonTest {
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  protected RevCommit getRemoteHead(String project, String branch)
 | 
			
		||||
      throws Exception {
 | 
			
		||||
    return getRemoteHead(new Project.NameKey(project), branch);
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  protected RevCommit getRemoteHead() throws Exception {
 | 
			
		||||
    return getRemoteHead(project, "master");
 | 
			
		||||
  }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user