Skip to content

Commit 020835d

Browse files
Fix tests
1 parent ba4cbfc commit 020835d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

res/sales_tax_rates.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@
332332
},
333333

334334
"GC": {
335-
"rate": -0.07,
335+
"rate": -0.14,
336336
"type": "igic"
337337
},
338338

@@ -342,7 +342,7 @@
342342
},
343343

344344
"TF": {
345-
"rate": -0.07,
345+
"rate": -0.14,
346346
"type": "igic"
347347
}
348348
}

test/sales_tax-test.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1719,7 +1719,7 @@ describe("node-sales-tax", function() {
17191719
);
17201720

17211721
assert.equal(
1722-
tax.charge.direct, false, "Should perform a direct charge"
1722+
tax.charge.direct, true, "Should perform a direct charge"
17231723
);
17241724

17251725
assert.equal(
@@ -1735,7 +1735,7 @@ describe("node-sales-tax", function() {
17351735
);
17361736

17371737
assert.equal(
1738-
tax.details.length, 0, "Tax details should be empty"
1738+
tax.details.length, 1, "Tax details should contain 1 tax rate"
17391739
);
17401740
});
17411741
});

0 commit comments

Comments
 (0)