-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add functionallity for deleting branches. #352
Conversation
deleteCommits(branchCommit, branchesInProject); | ||
} | ||
|
||
private void deleteCommits(CommitEntity commit, List<BranchEntity> branchesInProject) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add javadoc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
@Test | ||
void testDeleteBranch() { | ||
deleteBranchPort.delete( | ||
projectId, new Branch("testBranch2", "fcd9a0e7c34086fdb0aedc82497f8ddfa142e961")); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Create a member for the branch objects.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
…nchAdapter and member fields in the DeleteBranchesTest)
…eradar into delete-branches
If a branch has been deleted in the remote repository, it will now also get deleted from the database.
Closes #347