Skip to content

Commit 42d28de

Browse files
author
Paruyr Gevorgyan
committed
PricerRule constructor's unit-test checks the setting of the base currency code.
1 parent 9168f28 commit 42d28de

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

test/pricer_rule/constructor.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,11 @@ contract('PricerRule::constructor', async () => {
124124
organization.address,
125125
);
126126

127+
assert.strictEqual(
128+
(await pricerRule.baseCurrencyCode.call()),
129+
web3.utils.stringToHex('OST'),
130+
);
131+
127132
assert.strictEqual(
128133
(await pricerRule.eip20Token.call()),
129134
token,

0 commit comments

Comments
 (0)