Skip to content

Commit 3fa3f1d

Browse files
committed
fix(sfs) use constant int test
1 parent 3237884 commit 3fa3f1d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

internal/cmd/beta/sfs/snapshot/create/create_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package create
22

33
import (
44
"context"
5+
"strconv"
56
"testing"
67

78
"github.com/google/go-cmp/cmp"
@@ -39,7 +40,7 @@ func fixtureFlagValues(mods ...func(flagValues map[string]string)) map[string]st
3940
nameFlag: testName,
4041
resourcePoolIdFlag: testResourcePoolId,
4142
commentFlag: testComment,
42-
snaplockRetentionHoursFlag: "24",
43+
snaplockRetentionHoursFlag: strconv.Itoa(int(testSnaplockRetentionHours)),
4344
}
4445
for _, mod := range mods {
4546
mod(flagValues)

0 commit comments

Comments
 (0)