Skip to content

Commit

Permalink
Fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
sbliven committed Oct 24, 2024
1 parent 656afd9 commit bc8755b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/Jobs.js
Original file line number Diff line number Diff line change
Expand Up @@ -4461,7 +4461,7 @@ describe("1100: Jobs: Test New Job Model", () => {
});
});

describe("3120: Validate Job Action", () => {
describe.only("3120: Validate Job Action", () => {

it("0010: create validate job fails without required parameters", async () => {
const newDataset = {
Expand Down Expand Up @@ -4544,7 +4544,7 @@ describe("1100: Jobs: Test New Job Model", () => {
.expect("Content-Type", /json/)
.then((res) => {
res.body.should.not.have.property("type")
res.body.should.have.property("message").and.be.equal("Invalid request. Invalid value for 'jobParams.arrayOfStrings[*]'");
res.body.should.have.property("message").and.be.equal("Invalid request. Invalid value for 'jobParams.arrayOfStrings'");
});
});

Expand All @@ -4562,7 +4562,7 @@ describe("1100: Jobs: Test New Job Model", () => {
.send(newDataset)
.set("Accept", "application/json")
.set({ Authorization: `Bearer ${accessTokenAdmin}` })
//.expect(TestData.EntryCreatedStatusCode)
.expect(TestData.EntryCreatedStatusCode)
.expect("Content-Type", /json/)
.then((res) => {
res.body.should.have.property("type").and.equal("validate");
Expand Down

0 comments on commit bc8755b

Please sign in to comment.