feature/IO-2769-Job-Totals-testing: Allow for both american and canadian capture + tests

This commit is contained in:
Dave Richer
2025-04-04 13:47:38 -04:00
parent 8323fa6696
commit 51c2d3351a
3 changed files with 8 additions and 19 deletions

View File

@@ -40,14 +40,7 @@ exports.totalsSsu = async function (req, res) {
// Capture fixture data (input and output), using job.id for the filename.
if (process.env?.SAVE_TOTALS_DATA) {
captureFixture(
inputForTotals,
newTotals,
InstanceMgr({
imex: "ca",
rome: "us"
})
);
captureFixture(inputForTotals, newTotals);
}
const result = await client.setHeaders({ Authorization: BearerToken }).request(queries.UPDATE_JOB, {