Skip to content

Commit

Permalink
Merge pull request #155 from adityasaky/fix-location-in-slsa-timestamp
Browse files Browse the repository at this point in the history
Use UTC for testTime
  • Loading branch information
shibumi authored Nov 5, 2021
2 parents c742474 + 5fc5d69 commit 92ba2b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion in_toto/slsa_provenance/v0.1/provenance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func TestDecodeProvenancePredicate(t *testing.T) {
}

func TestEncodeProvenancePredicate(t *testing.T) {
var testTime = time.Unix(1597826280, 0)
var testTime = time.Unix(1597826280, 0).In(time.UTC)
var p = ProvenancePredicate{
Builder: ProvenanceBuilder{
ID: "https://github.com/Attestations/GitHubHostedActions@v1",
Expand Down

0 comments on commit 92ba2b6

Please sign in to comment.