We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d04500 commit 8e3ed21Copy full SHA for 8e3ed21
coderd/activitybump_test.go
@@ -134,7 +134,7 @@ func TestWorkspaceActivityBump(t *testing.T) {
134
workspace, err = client.Workspace(ctx, workspace.ID)
135
require.NoError(t, err)
136
updatedAfter = dbtime.Now()
137
- if workspace.LatestBuild.Deadline.Time.Unix() == firstDeadline.Unix() {
+ if workspace.LatestBuild.Deadline.Time.Equal(firstDeadline) {
138
updatedAfter = time.Now()
139
return false
140
}
0 commit comments