diff --git a/workflow-pr/pr_sync_test.go b/workflow-pr/pr_sync_test.go index 297c552..223164f 100644 --- a/workflow-pr/pr_sync_test.go +++ b/workflow-pr/pr_sync_test.go @@ -162,7 +162,9 @@ func TestSyncPR(t *testing.T) { t.Error(b.String()) } - // does nothing on next sync of already synced data -- PR is updated + /* + * does nothing on next sync of already synced data -- PR is updated + */ os.RemoveAll(path.Join(git.GitPath, common.DefaultGitPrj)) mock.EXPECT().GetAssociatedPrjGitPR(event).Return(&models.PullRequest{ Title: "some pull request", @@ -195,7 +197,7 @@ func TestSyncPR(t *testing.T) { } if !strings.Contains(b.String(), "commitID already match - nothing to do") { - os.CopyFS("/tmp/test", os.DirFS(git.GitPath)) + // os.CopyFS("/tmp/test", os.DirFS(git.GitPath)) t.Log(b.String()) } })