Skip to content

Commit

Permalink
Fix unit test reference
Browse files Browse the repository at this point in the history
  • Loading branch information
nagygergo committed Oct 28, 2024
1 parent 07ea983 commit 0d17de6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/cache/memory/cache_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import (

func TestLatestPackages(t *testing.T) {
ctx := context.Background()
testPath := filepath.Join("..", "git", "testdata")
testPath := filepath.Join("..", "..", "git", "testdata")

cachedRepo := openRepositoryFromArchive(t, ctx, testPath, "nested")

Expand Down Expand Up @@ -84,7 +84,7 @@ func TestLatestPackages(t *testing.T) {

func TestPublishedLatest(t *testing.T) {
ctx := context.Background()
testPath := filepath.Join("..", "git", "testdata")
testPath := filepath.Join("..", "..", "git", "testdata")
cachedRepo := openRepositoryFromArchive(t, ctx, testPath, "nested")

revisions, err := cachedRepo.ListPackageRevisions(ctx, repository.ListPackageRevisionFilter{
Expand Down

0 comments on commit 0d17de6

Please sign in to comment.