Skip to content

Commit 29c42f7

Browse files
committed
Fix test
1 parent f944e02 commit 29c42f7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

services/repository/files/file_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ func getExpectedFileResponse() *api.FileResponse {
4747
Path: treePath,
4848
SHA: sha,
4949
LastCommitSHA: "65f1bf27bc3bf70f64657658635e66094edbcb4d",
50-
LastCommitWhen: time.Date(2017, 3, 19, 20, 47, 59, 0, time.UTC),
50+
LastCommitWhen: time.Date(2017, time.March, 19, 16, 47, 59, 0, time.FixedZone("", -14400)),
5151
Type: "file",
5252
Size: 30,
5353
Encoding: &encoding,

tests/integration/api_repo_get_contents_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ func getExpectedContentsResponseForContents(ref, refType, lastCommitSHA string)
3737
Path: treePath,
3838
SHA: sha,
3939
LastCommitSHA: lastCommitSHA,
40+
LastCommitWhen: time.Date(2017, time.March, 19, 16, 47, 59, 0, time.FixedZone("", -14400)),
4041
Type: "file",
4142
Size: 30,
4243
Encoding: &encoding,

0 commit comments

Comments
 (0)