Skip to content

Commit

Permalink
fix broken after merge unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
oleksandr-codefresh committed Jan 7, 2025
1 parent dbe7704 commit 7255f22
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions reposerver/repository/repository_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,13 @@ func TestGenerateManifests_K8SAPIResetCache(t *testing.T) {
func TestGenerateManifests_EmptyCache(t *testing.T) {
service, gitMocks, mockCache := newServiceWithMocks(t, "../../manifests/base", false)

gitMocks.On("RevisionMetadata", mock.Anything).Return(&git.RevisionMetadata{
Message: "test",
Author: "author",
Date: time.Now(),
Tags: []string{"tag1", "tag2"},
}, nil) // CF required because of changes in repo server

src := argoappv1.ApplicationSource{Path: "."}
q := apiclient.ManifestRequest{
Repo: &argoappv1.Repository{},
Expand Down

0 comments on commit 7255f22

Please sign in to comment.