8000 fix: static data in mocks by greyscaled · Pull Request #1574 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content

fix: static data in mocks #1574

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

Merged
merged 3 commits into from
May 19, 2022
Merged
Changes from 1 commit
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
Next Next commit
fix: static data in mocks
  • Loading branch information
greyscaled authored May 18, 2022
commit 6a2b3f7e3f8908e0bbe3313d2c11b27ae8df7603
6 changes: 3 additions & 3 deletions site/src/testHelpers/entities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ export const MockRunningProvisionerJob = { ...MockProvisionerJob, status: "runni

export const MockTemplate: TypesGen.Template = {
id: "test-template",
created_at: new Date().toString(),
updated_at: new Date().toString(),
created_at: "2022-05-17T17:39:01.382927298Z",
updated_at: "2022-05-17T17:39:01.382927298Z",
organization_id: MockOrganization.id,
name: "Test Template",
provisioner: MockProvisioner.id,
Expand Down Expand Up @@ -111,7 +111,7 @@ export const MockWorkspaceAutostopEnabled: TypesGen.UpdateWorkspaceAutostartRequ

export const MockWorkspaceBuild: TypesGen.WorkspaceBuild = {
build_number: 1,
created_at: new Date().toString(),
created_at: "2022-05-17T17:39:01.382927298Z",
id: "1",
initiator_id: "",
job: MockProvisionerJob,
Expand Down
0