mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-09 23:15:43 +01:00
Update jgit to v5.11.1.202105131744-r-scm1 (#1661)
Update jgit to v5.11.1.202105131744-r-scm1 Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
This commit is contained in:
@@ -60,14 +60,14 @@ public class GitModifyCommand_withEmptyRepositoryTest extends GitModifyCommandTe
|
||||
}
|
||||
|
||||
@Test
|
||||
public void shouldCreateCommitOnMasterByDefault() throws IOException, GitAPIException {
|
||||
public void shouldCreateCommitOnMainByDefault() throws IOException, GitAPIException {
|
||||
createContext().getGlobalConfig().setDefaultBranch("");
|
||||
|
||||
executeModifyCommand();
|
||||
|
||||
try (Git git = new Git(createContext().open())) {
|
||||
List<Ref> branches = git.branchList().call();
|
||||
assertThat(branches).extracting("name").containsExactly("refs/heads/master");
|
||||
assertThat(branches).extracting("name").containsExactly("refs/heads/main");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user