Skip to content

Commit

Permalink
Fixed cas-supplier-integration E2E tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewsignori-aot committed Dec 18, 2024
1 parent e428a2a commit 79e989a
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ describe(describeProcessorRootTest(QueueNames.CASSupplierIntegration), () => {
"Pending suppliers to update found: 1.",
"Records updated: 1.",
"Attention, process finalized with success but some errors and/or warnings messages may require some attention.",
"Error(s): 0, Warning(s): 1, Info: 11",
"Error(s): 0, Warning(s): 1, Info: 12",
]);
expect(
mockedJob.containLogMessages([
Expand Down Expand Up @@ -247,7 +247,7 @@ describe(describeProcessorRootTest(QueueNames.CASSupplierIntegration), () => {
"Pending suppliers to update found: 1.",
"Records updated: 1.",
"Attention, process finalized with success but some errors and/or warnings messages may require some attention.",
"Error(s): 0, Warning(s): 1, Info: 11",
"Error(s): 0, Warning(s): 1, Info: 12",
]);
expect(
mockedJob.containLogMessages([
Expand Down Expand Up @@ -710,7 +710,7 @@ describe(describeProcessorRootTest(QueueNames.CASSupplierIntegration), () => {
"Pending suppliers to update found: 1.",
"Records updated: 0.",
"Attention, process finalized with success but some errors and/or warnings messages may require some attention.",
"Error(s): 0, Warning(s): 1, Info: 13",
"Error(s): 0, Warning(s): 1, Info: 14",
]);
// Assert DB was updated.
const updateCASSupplier = await db.casSupplier.findOne({
Expand Down Expand Up @@ -778,7 +778,7 @@ describe(describeProcessorRootTest(QueueNames.CASSupplierIntegration), () => {
"Pending suppliers to update found: 1.",
"Records updated: 0.",
"Attention, process finalized with success but some errors and/or warnings messages may require some attention.",
"Error(s): 0, Warning(s): 2, Info: 12",
"Error(s): 0, Warning(s): 2, Info: 13",
]);
// Assert DB was updated.
const updateCASSupplier = await db.casSupplier.findOne({
Expand Down Expand Up @@ -842,7 +842,7 @@ describe(describeProcessorRootTest(QueueNames.CASSupplierIntegration), () => {
"Pending suppliers to update found: 1.",
"Records updated: 0.",
"Attention, process finalized with success but some errors and/or warnings messages may require some attention.",
"Error(s): 0, Warning(s): 2, Info: 12",
"Error(s): 0, Warning(s): 2, Info: 13",
]);
// Assert DB was updated.
const updateCASSupplier = await db.casSupplier.findOne({
Expand Down

0 comments on commit 79e989a

Please sign in to comment.