fix(tests): fixed the creation of non-linear commits creation in tests
- This addresses and makes a fix for #5706
This commit is contained in:
parent
3d6f5a067e
commit
8a480af3c1
8 changed files with 1130 additions and 830 deletions
|
|
@ -342,7 +342,7 @@ class TestCreatePullRequestApi(object):
|
|||
commits = [
|
||||
{'message': 'initial'},
|
||||
{'message': 'change'},
|
||||
{'message': 'new-feature', 'parents': ['initial']},
|
||||
{'message': 'new-feature', 'parents': ['initial'], 'branch': 'feature'},
|
||||
]
|
||||
self.commit_ids = backend.create_master_repo(commits)
|
||||
self.source = backend.create_repo(heads=[source_head])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue