From ae4a8822230ecf6d697a4404ca1d1c94ead4c205 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Thu, 19 Dec 2024 16:32:24 -0800 Subject: [PATCH] Fix test --- services/repository/files/file_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/repository/files/file_test.go b/services/repository/files/file_test.go index 6fa636058aa..af1d8be392a 100644 --- a/services/repository/files/file_test.go +++ b/services/repository/files/file_test.go @@ -47,7 +47,7 @@ func getExpectedFileResponse() *api.FileResponse { Path: treePath, SHA: sha, LastCommitSHA: "65f1bf27bc3bf70f64657658635e66094edbcb4d", - LastCommitWhen: time.Date(2017, 3, 19, 16, 47, 59, 0, time.FixedZone("", -4)), + LastCommitWhen: time.Date(2017, 3, 19, 20, 47, 59, 0, time.UTC), Type: "file", Size: 30, Encoding: &encoding,