diff --git a/suites/apis/metadataIngestionTest.js b/suites/apis/metadataIngestionTest.js index eb04552e4..ff9b69e6c 100644 --- a/suites/apis/metadataIngestionTest.js +++ b/suites/apis/metadataIngestionTest.js @@ -196,8 +196,7 @@ Before(async ({ indexd }) => { console.log('populating indexd records...'); // To test the deletion endpoint, the mds record entry needs to reference an indexd record // So let us create one - const ok = await indexd.do.addFileIndices(Object.values(files)); - expect(ok).to.be.true; + await indexd.do.addFileIndices(Object.values(files)); }); // Scenario #1 - Instrument sower HTTP API endpoint to trigger the ingest-metadata-manifest job