Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump github.com/jonboulle/clockwork from 0.3.0 to 0.4.0 #819

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion backend/services/evidence_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"bytes"
"io"
"testing"
"time"

"github.com/stretchr/testify/require"
"github.com/theparanoids/ashirt-server/backend/contentstore"
Expand Down Expand Up @@ -381,7 +382,7 @@ func validateReadEvidenceOutput(t *testing.T, expected models.Evidence, actual *
require.Equal(t, expected.UUID, actual.UUID)
require.Equal(t, expected.Description, actual.Description)
require.Equal(t, expected.ContentType, actual.ContentType)
require.Equal(t, expected.OccurredAt, actual.OccurredAt)
require.Equal(t, expected.OccurredAt.Round(time.Second).UTC(), actual.OccurredAt)
}

func validateInsertedEvidence(t *testing.T, evi *dtos.Evidence, src services.CreateEvidenceInput,
Expand Down
4 changes: 2 additions & 2 deletions backend/services/tag_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ func TestUpdateTag(t *testing.T) {
OperationID: op.ID,
Name: "Moon",
ColorName: "green",
CreatedAt: TagEarth.CreatedAt,
CreatedAt: TagEarth.CreatedAt.Round(time.Second).UTC(),
UpdatedAt: updatedTag.UpdatedAt,
}, updatedTag)
})
Expand Down Expand Up @@ -384,7 +384,7 @@ func TestUpdateDefaultTag(t *testing.T) {
ID: tagToUpdate.ID,
Name: i.Name,
ColorName: i.ColorName,
CreatedAt: tagToUpdate.CreatedAt,
CreatedAt: tagToUpdate.CreatedAt.Round(time.Second).UTC(),
UpdatedAt: updatedTag.UpdatedAt,
}, updatedTag)
})
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ require (
github.com/gorilla/sessions v1.2.1
github.com/jaytaylor/html2text v0.0.0-20211105163654-bc68cce691ba
github.com/jmoiron/sqlx v1.3.5
github.com/jonboulle/clockwork v0.3.0
github.com/jonboulle/clockwork v0.4.0
github.com/kelseyhightower/envconfig v1.4.0
github.com/nfnt/resize v0.0.0-20180221191011-83c6a9932646
github.com/pquerna/otp v1.4.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -539,8 +539,8 @@ github.com/jmoiron/sqlx v1.3.5/go.mod h1:nRVWtLre0KfCLJvgxzCsLVMogSvQ1zNJtpYr2Cc
github.com/joho/godotenv v1.3.0/go.mod h1:7hK45KPybAkOC6peb+G5yklZfMxEjkZhHbwpqxOKXbg=
github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo=
github.com/jonboulle/clockwork v0.2.2/go.mod h1:Pkfl5aHPm1nk2H9h0bjmnJD/BcgbGXUBGnn1kMkgxc8=
github.com/jonboulle/clockwork v0.3.0 h1:9BSCMi8C+0qdApAp4auwX0RkLGUjs956h0EkuQymUhg=
github.com/jonboulle/clockwork v0.3.0/go.mod h1:Pkfl5aHPm1nk2H9h0bjmnJD/BcgbGXUBGnn1kMkgxc8=
github.com/jonboulle/clockwork v0.4.0 h1:p4Cf1aMWXnXAUh8lVfewRBx1zaTSYKrKMF2g3ST4RZ4=
github.com/jonboulle/clockwork v0.4.0/go.mod h1:xgRqUGwRcjKCO1vbZUEtSLrqKoPSsUpK7fnezOII0kc=
github.com/jpillora/backoff v0.0.0-20180909062703-3050d21c67d7/go.mod h1:2iMrUgbbvHEiQClaW2NsSzMyGHqN+rDFqY705q49KG0=
github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4=
github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU=
Expand Down