Skip to content

Commit

Permalink
test: Update mocks
Browse files Browse the repository at this point in the history
  • Loading branch information
DafyddLlyr committed Jan 26, 2024
1 parent 121c41b commit bb5c983
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions api.planx.uk/modules/send/bops/bops.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ describe(`sending an application to BOPS`, () => {
});

queryMock.mockQuery({
name: "GetStagingBopsSubmissionURL",
name: "GetStagingBopsSubmissionDetails",
data: {
teams: [
{
Expand All @@ -72,12 +72,12 @@ describe(`sending an application to BOPS`, () => {
});

queryMock.mockQuery({
name: "GetStagingBopsSubmissionURL",
name: "GetStagingBopsSubmissionDetails",
data: {
teams: [
{
integrations: {
bopsSubmissionURL: null,
submissionURL: null,
},
},
],
Expand Down Expand Up @@ -187,12 +187,12 @@ describe(`sending an application to BOPS v2`, () => {
});

queryMock.mockQuery({
name: "GetStagingBopsSubmissionURL",
name: "GetStagingBopsSubmissionDetails",
data: {
teams: [
{
integrations: {
bopsSubmissionURL: submissionURL,
submissionURL: submissionURL,
},
},
],
Expand All @@ -203,12 +203,12 @@ describe(`sending an application to BOPS v2`, () => {
});

queryMock.mockQuery({
name: "GetStagingBopsSubmissionURL",
name: "GetStagingBopsSubmissionDetails",
data: {
teams: [
{
integrations: {
bopsSubmissionURL: null,
submissionURL: null,
},
},
],
Expand Down

0 comments on commit bb5c983

Please sign in to comment.