Skip to content

Commit

Permalink
Call tags(boolean) from a test
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkEWaite committed Jan 21, 2023
1 parent 72af82a commit eeb1af7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public void test_clone_shallow_with_depth() throws Exception {

@Test
public void test_clone_shared() throws IOException, InterruptedException {
testGitClient.clone_().url(workspace.localMirror()).repositoryName("origin").shared(true).execute();
testGitClient.clone_().url(workspace.localMirror()).repositoryName("origin").shared(true).tags(true).execute();
testGitClient.checkout().ref("origin/master").branch("master").execute();
check_remote_url(workspace, testGitClient, "origin");
assertBranchesExist(testGitClient.getBranches(), "master");
Expand All @@ -196,7 +196,7 @@ public void test_clone_shared() throws IOException, InterruptedException {

@Test
public void test_clone_null_branch() throws IOException, InterruptedException {
testGitClient.clone_().url(workspace.localMirror()).repositoryName("origin").shared().execute();
testGitClient.clone_().url(workspace.localMirror()).repositoryName("origin").shared().tags(false).execute();
testGitClient.checkout().ref("origin/master").branch(null).execute();
check_remote_url(workspace, testGitClient, "origin");
assertAlternateFilePointsToLocalMirror();
Expand Down

0 comments on commit eeb1af7

Please sign in to comment.