From 88cf85735218dd2aff0c735eb83d3131d834abd0 Mon Sep 17 00:00:00 2001 From: Christopher Pappas Date: Thu, 5 Mar 2020 17:54:19 -0800 Subject: [PATCH] Pend unstitched concection tests --- .../consignments/add_asset_to_submission_mutation.test.js | 3 ++- .../__tests__/consignments/create_submission_mutation.test.js | 3 ++- src/schema/v1/me/__tests__/consignments/submissions.test.js | 3 ++- .../__tests__/consignments/update_submission_mutation.test.js | 3 ++- .../__tests__/create_asset_request_mutation.test.js | 3 ++- .../v2/asset_uploads/__tests__/finalize_asset_mutation.test.js | 3 ++- .../consignments/add_asset_to_submission_mutation.test.js | 3 ++- .../__tests__/consignments/create_submission_mutation.test.js | 3 ++- src/schema/v2/me/__tests__/consignments/submissions.test.js | 3 ++- .../__tests__/consignments/update_submission_mutation.test.js | 3 ++- 10 files changed, 20 insertions(+), 10 deletions(-) diff --git a/src/schema/v1/me/__tests__/consignments/add_asset_to_submission_mutation.test.js b/src/schema/v1/me/__tests__/consignments/add_asset_to_submission_mutation.test.js index 05369e7201..21675dd3ef 100644 --- a/src/schema/v1/me/__tests__/consignments/add_asset_to_submission_mutation.test.js +++ b/src/schema/v1/me/__tests__/consignments/add_asset_to_submission_mutation.test.js @@ -2,7 +2,8 @@ import { runAuthenticatedQuery } from "schema/v1/test/utils" import gql from "lib/gql" -describe("addAssetToConsignmentSubmission", () => { +// FIXME: We're now stitching. Remove these files once this work settles +xdescribe("addAssetToConsignmentSubmission", () => { it("creates a submission and returns its new data payload", () => { const mutation = gql` mutation { diff --git a/src/schema/v1/me/__tests__/consignments/create_submission_mutation.test.js b/src/schema/v1/me/__tests__/consignments/create_submission_mutation.test.js index 25712d16f1..a6ead0586a 100644 --- a/src/schema/v1/me/__tests__/consignments/create_submission_mutation.test.js +++ b/src/schema/v1/me/__tests__/consignments/create_submission_mutation.test.js @@ -4,7 +4,8 @@ import { config as createSubmissionMutation } from "schema/v1/me/consignments/cr import gql from "lib/gql" -describe("UpdateSubmissionMutation", () => { +// FIXME: We're now stitching. Remove these files once this work settles +xdescribe("UpdateSubmissionMutation", () => { it("does not include the id param", () => { const mutation = createSubmissionMutation expect(Object.keys(mutation.inputFields)).not.toContain("id") diff --git a/src/schema/v1/me/__tests__/consignments/submissions.test.js b/src/schema/v1/me/__tests__/consignments/submissions.test.js index 61c9b9f72a..8f23c85b07 100644 --- a/src/schema/v1/me/__tests__/consignments/submissions.test.js +++ b/src/schema/v1/me/__tests__/consignments/submissions.test.js @@ -2,7 +2,8 @@ import { runAuthenticatedQuery } from "schema/v1/test/utils" import gql from "lib/gql" -describe("submissions", () => { +// FIXME: We're now stitching. Remove these files once this work settles +xdescribe("submissions", () => { it("asks for a user's submissions", () => { const mutation = gql` { diff --git a/src/schema/v1/me/__tests__/consignments/update_submission_mutation.test.js b/src/schema/v1/me/__tests__/consignments/update_submission_mutation.test.js index 7f80be29ef..a60899567e 100644 --- a/src/schema/v1/me/__tests__/consignments/update_submission_mutation.test.js +++ b/src/schema/v1/me/__tests__/consignments/update_submission_mutation.test.js @@ -3,7 +3,8 @@ import { runAuthenticatedQuery } from "schema/v1/test/utils" import { config as updateSubmissionMutation } from "schema/v1/me/consignments/update_submission_mutation" import gql from "lib/gql" -describe("UpdateSubmissionMutation", () => { +// FIXME: We're now stitching. Remove these files once this work settles +xdescribe("UpdateSubmissionMutation", () => { it("includes the id param", () => { const mutation = updateSubmissionMutation expect(Object.keys(mutation.inputFields)).toContain("id") diff --git a/src/schema/v2/asset_uploads/__tests__/create_asset_request_mutation.test.js b/src/schema/v2/asset_uploads/__tests__/create_asset_request_mutation.test.js index 444875de4a..fcb85834df 100644 --- a/src/schema/v2/asset_uploads/__tests__/create_asset_request_mutation.test.js +++ b/src/schema/v2/asset_uploads/__tests__/create_asset_request_mutation.test.js @@ -1,7 +1,8 @@ /* eslint-disable promise/always-return */ import { runAuthenticatedQuery } from "schema/v2/test/utils" -describe("addAssetToConsignmentSubmission", () => { +// FIXME: We're now stitching. Remove these files once this work settles +xdescribe("addAssetToConsignmentSubmission", () => { it("creates a submission and returns its new data payload", async () => { const mutation = ` mutation { diff --git a/src/schema/v2/asset_uploads/__tests__/finalize_asset_mutation.test.js b/src/schema/v2/asset_uploads/__tests__/finalize_asset_mutation.test.js index 84db6c8233..45aa6966ee 100644 --- a/src/schema/v2/asset_uploads/__tests__/finalize_asset_mutation.test.js +++ b/src/schema/v2/asset_uploads/__tests__/finalize_asset_mutation.test.js @@ -2,7 +2,8 @@ import { runAuthenticatedQuery } from "schema/v2/test/utils" import gql from "lib/gql" -describe("CreateGeminiEntryForAsset", () => { +// FIXME: We're now stitching. Remove these files once this work settles +xdescribe("CreateGeminiEntryForAsset", () => { it("creates a submission and returns its new data payload", () => { const mutation = gql` mutation { diff --git a/src/schema/v2/me/__tests__/consignments/add_asset_to_submission_mutation.test.js b/src/schema/v2/me/__tests__/consignments/add_asset_to_submission_mutation.test.js index 507fe62513..00a40b0ef3 100644 --- a/src/schema/v2/me/__tests__/consignments/add_asset_to_submission_mutation.test.js +++ b/src/schema/v2/me/__tests__/consignments/add_asset_to_submission_mutation.test.js @@ -2,7 +2,8 @@ import { runAuthenticatedQuery } from "schema/v2/test/utils" import gql from "lib/gql" -describe("addAssetToConsignmentSubmission", () => { +// FIXME: We're now stitching. Remove these files once this work settles +xdescribe("addAssetToConsignmentSubmission", () => { it("creates a submission and returns its new data payload", () => { const mutation = gql` mutation { diff --git a/src/schema/v2/me/__tests__/consignments/create_submission_mutation.test.js b/src/schema/v2/me/__tests__/consignments/create_submission_mutation.test.js index 2170bb30ef..923a1a6937 100644 --- a/src/schema/v2/me/__tests__/consignments/create_submission_mutation.test.js +++ b/src/schema/v2/me/__tests__/consignments/create_submission_mutation.test.js @@ -4,7 +4,8 @@ import { config as createSubmissionMutation } from "schema/v2/me/consignments/cr import gql from "lib/gql" -describe("UpdateSubmissionMutation", () => { +// FIXME: We're now stitching. Remove these files once this work settles +xdescribe("UpdateSubmissionMutation", () => { it("does not include the id param", () => { const mutation = createSubmissionMutation expect(Object.keys(mutation.inputFields)).not.toContain("id") diff --git a/src/schema/v2/me/__tests__/consignments/submissions.test.js b/src/schema/v2/me/__tests__/consignments/submissions.test.js index e8042618af..d8e5dfad98 100644 --- a/src/schema/v2/me/__tests__/consignments/submissions.test.js +++ b/src/schema/v2/me/__tests__/consignments/submissions.test.js @@ -2,7 +2,8 @@ import { runAuthenticatedQuery } from "schema/v2/test/utils" import gql from "lib/gql" -describe("submissions", () => { +// FIXME: We're now stitching. Remove these files once this work settles +xdescribe("submissions", () => { it("asks for a user's submissions", async () => { const mutation = gql` { diff --git a/src/schema/v2/me/__tests__/consignments/update_submission_mutation.test.js b/src/schema/v2/me/__tests__/consignments/update_submission_mutation.test.js index 2fe1e77cbc..c6da554eba 100644 --- a/src/schema/v2/me/__tests__/consignments/update_submission_mutation.test.js +++ b/src/schema/v2/me/__tests__/consignments/update_submission_mutation.test.js @@ -3,7 +3,8 @@ import { runAuthenticatedQuery } from "schema/v2/test/utils" import { config as updateSubmissionMutation } from "schema/v2/me/consignments/update_submission_mutation" import gql from "lib/gql" -describe("UpdateSubmissionMutation", () => { +// FIXME: We're now stitching. Remove these files once this work settles +xdescribe("UpdateSubmissionMutation", () => { it("includes the id param", () => { const mutation = updateSubmissionMutation expect(Object.keys(mutation.inputFields)).toContain("id")