1
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-01-21 22:03:38 +03:00
This commit is contained in:
Lunny Xiao 2024-12-19 16:04:05 -08:00
parent 6f5bc5923e
commit abe1cf3ff7
No known key found for this signature in database
GPG Key ID: C3B7C91B632F738A

View File

@ -5,6 +5,7 @@ package files
import (
"testing"
"time"
"code.gitea.io/gitea/models/unittest"
"code.gitea.io/gitea/modules/gitrepo"
@ -46,6 +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)),
Type: "file",
Size: 30,
Encoding: &encoding,