indicate main explicitly for ci

This commit is contained in:
burnettk 2022-12-10 22:50:52 -05:00
parent cc95973552
commit c797cc28f7
1 changed files with 1 additions and 1 deletions

View File

@ -2565,7 +2565,7 @@ class TestProcessApi(BaseTest):
) -> None: ) -> None:
"""Test_process_model_publish.""" """Test_process_model_publish."""
bpmn_root = FileSystemService.root_path() bpmn_root = FileSystemService.root_path()
shell_command = ["git", "init", bpmn_root] shell_command = ["git", "init", "--initial-branch=main", bpmn_root]
output = GitService.run_shell_command_to_get_stdout(shell_command) output = GitService.run_shell_command_to_get_stdout(shell_command)
assert output == f"Initialized empty Git repository in {bpmn_root}/.git/\n" assert output == f"Initialized empty Git repository in {bpmn_root}/.git/\n"
with FileSystemService.cd(bpmn_root): with FileSystemService.cd(bpmn_root):