aboutsummaryrefslogtreecommitdiff
path: root/actions/context_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'actions/context_test.go')
-rw-r--r--actions/context_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/context_test.go b/actions/context_test.go
index 4b38a33..593518f 100644
--- a/actions/context_test.go
+++ b/actions/context_test.go
@@ -47,7 +47,7 @@ func setupContext() (ctx *Context, err error) {
ConfigFileLocation = filepath.Join(mountpoint, "test.conf")
// Should not be able to setup without a config file
- if badCtx, badCtxErr := NewContextFromMountpoint(mountpoint); badCtxErr == nil {
+ if badCtx, badCtxErr := NewContextFromMountpoint(mountpoint, nil); badCtxErr == nil {
badCtx.Mount.RemoveAllMetadata()
return nil, fmt.Errorf("created context at %q without config file", badCtx.Mount.Path)
}
@@ -61,7 +61,7 @@ func setupContext() (ctx *Context, err error) {
}
}()
- ctx, err = NewContextFromMountpoint(mountpoint)
+ ctx, err = NewContextFromMountpoint(mountpoint, nil)
if err != nil {
return nil, err
}