Skip to content

Commit

Permalink
MEX-507: fix unit tests
Browse files Browse the repository at this point in the history
Signed-off-by: Claudiu Lataretu <[email protected]>
  • Loading branch information
claudiulataretu committed Aug 19, 2024
1 parent 509357c commit f0d2bd9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/modules/router/specs/router.service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ describe('RouterService', () => {
const filteredPairs = await service.getAllPairs(0, Number.MAX_VALUE, {
firstTokenID: 'WEGLD-123456',
issuedLpToken: true,
address: null,
addresses: null,
secondTokenID: null,
state: null,
feeState: null,
Expand Down Expand Up @@ -146,7 +146,7 @@ describe('RouterService', () => {
const filteredPairs = await service.getAllPairs(0, Number.MAX_VALUE, {
firstTokenID: 'WEGLD-123456',
issuedLpToken: true,
address: null,
addresses: null,
secondTokenID: null,
state: null,
feeState: false,
Expand All @@ -168,7 +168,7 @@ describe('RouterService', () => {
const filteredPairs = await service.getAllPairs(0, Number.MAX_VALUE, {
firstTokenID: null,
issuedLpToken: true,
address: null,
addresses: null,
secondTokenID: null,
state: null,
feeState: null,
Expand Down
3 changes: 3 additions & 0 deletions src/modules/user/specs/user.service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,9 @@ describe('UserService', () => {
nonce: 1,
royalties: 0,
valueUSD: '20',
pairAddress: Address.fromHex(
'0000000000000000000000000000000000000000000000000000000000000012',
).bech32(),
decodedAttributes: new FarmTokenAttributesModelV1_2({
aprMultiplier: 1,
attributes: 'AAAABQeMCWDbAAAAAAAAAF8CAQ==',
Expand Down

0 comments on commit f0d2bd9

Please sign in to comment.