aboutsummaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
Diffstat (limited to 'pkg')
-rw-r--r--pkg/api/api0/api0testutil/storage.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/api/api0/api0testutil/storage.go b/pkg/api/api0/api0testutil/storage.go
index c8c96af..80020fd 100644
--- a/pkg/api/api0/api0testutil/storage.go
+++ b/pkg/api/api0/api0testutil/storage.go
@@ -219,7 +219,7 @@ func TestAccountStorage(t *testing.T, s api0.AccountStorage) {
uacct.Username = "user" + strconv.Itoa(rand.Intn(users/8)) // generate a username with overlap
uacct.AuthIP = netip.MustParseAddr("127.0.0.1")
uacct.AuthToken = "dummy"
- uacct.AuthTokenExpiry = time.Now().Add(time.Minute * 30)
+ uacct.AuthTokenExpiry = time.Now().Add(time.Minute * 30).Truncate(time.Second)
uacct.LastServerID = "self"
// update the account