diff options
Diffstat (limited to 'internal/rosa')
| -rw-r--r-- | internal/rosa/mirror_test.go | 2 | ||||
| -rw-r--r-- | internal/rosa/rosa_test.go | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/internal/rosa/mirror_test.go b/internal/rosa/mirror_test.go index acd45c39..6c3ec92e 100644 --- a/internal/rosa/mirror_test.go +++ b/internal/rosa/mirror_test.go @@ -31,7 +31,7 @@ func TestMirror(t *testing.T) { msg.SwapVerbose(testing.Verbose()) var c *pkg.Cache - c, err = pkg.Open(t.Context(), msg, 0, 0, 0, base) + c, err = pkg.Open(t.Context(), msg, base, nil) if err != nil { t.Fatal(err) } diff --git a/internal/rosa/rosa_test.go b/internal/rosa/rosa_test.go index e612c11d..c2a6451c 100644 --- a/internal/rosa/rosa_test.go +++ b/internal/rosa/rosa_test.go @@ -61,7 +61,9 @@ func getCache(t *testing.T) *pkg.Cache { msg := message.New(log.New(os.Stderr, "rosa: ", 0)) msg.SwapVerbose(true) - if buildTestCache, err = pkg.Open(ctx, msg, pkg.CSuppressInit, 0, 0, a); err != nil { + if buildTestCache, err = pkg.Open(ctx, msg, a, &pkg.CacheAttr{ + Flags: pkg.CSuppressInit, + }); err != nil { t.Fatal(err) } } |
