File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -426,17 +426,17 @@ func TestGuestUpload(t *testing.T) {
426
426
fileExpirationTimeExpected : mustParseExpirationTime ("2024-01-02T00:00:00Z" ),
427
427
},
428
428
{
429
- description : "guest file expires in 365 day " ,
429
+ description : "guest file expires in 365 days " ,
430
430
guestLinkInStore : picoshare.GuestLink {
431
431
ID : picoshare .GuestLinkID ("abcdefgh23456789" ),
432
432
Created : mustParseTime ("2022-01-01T00:00:00Z" ),
433
433
UrlExpires : mustParseExpirationTime ("2030-01-02T03:04:25Z" ),
434
434
FileLifetime : picoshare .NewFileLifetimeInDays (365 ),
435
435
},
436
- currentTime : mustParseTime ("2024 -01-01T00:00:00Z" ),
436
+ currentTime : mustParseTime ("2023 -01-01T00:00:00Z" ),
437
437
guestLinkID : "abcdefgh23456789" ,
438
438
status : http .StatusOK ,
439
- fileExpirationTimeExpected : mustParseExpirationTime ("2024-12-31T00 :00:00Z" ),
439
+ fileExpirationTimeExpected : mustParseExpirationTime ("2024-01-01T00 :00:00Z" ),
440
440
},
441
441
} {
442
442
t .Run (tt .description , func (t * testing.T ) {
You can’t perform that action at this time.
0 commit comments