From e573990487cecbdb715472f7d63cd15ffcf8179f Mon Sep 17 00:00:00 2001 From: Michael Barz Date: Mon, 28 Mar 2022 16:11:03 +0200 Subject: [PATCH] use utc timezone --- graph/pkg/service/v0/graph_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graph/pkg/service/v0/graph_test.go b/graph/pkg/service/v0/graph_test.go index 75b7bdd48..bd07a5cde 100644 --- a/graph/pkg/service/v0/graph_test.go +++ b/graph/pkg/service/v0/graph_test.go @@ -245,7 +245,7 @@ var _ = Describe("Graph", func() { Expect(*value.Root.Id).To(Equal("aID!differentID")) Expect(*value.Root.RemoteItem.ETag).To(Equal("123456789")) Expect(*value.Root.RemoteItem.Id).To(Equal("ownerStorageID!opaqueID")) - Expect(*value.Root.RemoteItem.LastModifiedDateTime).To(Equal(time.Unix(1648327606, 0))) + Expect(value.Root.RemoteItem.LastModifiedDateTime.UTC()).To(Equal(time.Unix(1648327606, 0).UTC())) Expect(*value.Root.RemoteItem.Folder).To(Equal(libregraph.Folder{})) Expect(*value.Root.RemoteItem.Name).To(Equal("New Folder")) Expect(*value.Root.RemoteItem.Size).To(Equal(int64(1234)))