Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
valeriansaliou committed Sep 26, 2024
1 parent ba4cbfc commit 020835d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions res/sales_tax_rates.json
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@
},

"GC": {
"rate": -0.07,
"rate": -0.14,
"type": "igic"
},

Expand All @@ -342,7 +342,7 @@
},

"TF": {
"rate": -0.07,
"rate": -0.14,
"type": "igic"
}
}
Expand Down
4 changes: 2 additions & 2 deletions test/sales_tax-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1719,7 +1719,7 @@ describe("node-sales-tax", function() {
);

assert.equal(
tax.charge.direct, false, "Should perform a direct charge"
tax.charge.direct, true, "Should perform a direct charge"
);

assert.equal(
Expand All @@ -1735,7 +1735,7 @@ describe("node-sales-tax", function() {
);

assert.equal(
tax.details.length, 0, "Tax details should be empty"
tax.details.length, 1, "Tax details should contain 1 tax rate"
);
});
});
Expand Down

0 comments on commit 020835d

Please sign in to comment.