Skip to content

Commit

Permalink
changed Feature time to UTC for production test
Browse files Browse the repository at this point in the history
  • Loading branch information
elraphty committed Aug 29, 2024
1 parent e37d886 commit 6f8d64d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions handlers/features_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -645,8 +645,8 @@ func TestGetFeaturePhases(t *testing.T) {
updatedFeaturePhases := db.TestDB.GetPhasesByFeatureUuid(feature.Uuid)

for i := range updatedFeaturePhases {
created := updatedFeaturePhases[i].Created.In(time.Local)
updated := updatedFeaturePhases[i].Updated.In(time.Local)
created := updatedFeaturePhases[i].Created.In(time.UTC)
updated := updatedFeaturePhases[i].Updated.In(time.UTC)
updatedFeaturePhases[i].Created = &created
updatedFeaturePhases[i].Updated = &updated
}
Expand Down Expand Up @@ -1011,8 +1011,8 @@ func TestGetStoriesByFeatureUuid(t *testing.T) {
}

for i := range updatedFeatureStory {
created := updatedFeatureStory[i].Created.In(time.Local)
updated := updatedFeatureStory[i].Updated.In(time.Local)
created := updatedFeatureStory[i].Created.In(time.UTC)
updated := updatedFeatureStory[i].Updated.In(time.UTC)
updatedFeatureStory[i].Created = &created
updatedFeatureStory[i].Updated = &updated
}
Expand Down

0 comments on commit 6f8d64d

Please sign in to comment.