We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5192c69 commit b4fe461Copy full SHA for b4fe461
platform-api/src/test/java/com/flow/platform/api/test/service/GitServiceTest.java
@@ -105,6 +105,14 @@ public void should_list_branches_of_git_repo() {
105
Assert.assertEquals("master", branches.get(1));
106
}
107
108
+ @Test
109
+ public void should_refresh_branches_of_git_repo() {
110
+ List<String> branches = gitService.refreshBranches(node);
111
+ Assert.assertNotNull(branches);
112
+ Assert.assertEquals("develop", branches.get(0));
113
+ Assert.assertEquals("master", branches.get(1));
114
+ }
115
+
116
@Test
117
public void should_list_tags_of_git_repo() {
118
List<String> tags = gitService.tags(node);
0 commit comments