Skip to content
This repository was archived by the owner on Oct 15, 2024. It is now read-only.

Commit 1327261

Browse files
authored
fix: excluded sources test (#322)
1 parent bc9f218 commit 1327261

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

test/swap_test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,8 +208,8 @@ describe(SUITE_NAME, () => {
208208
validationErrors: [
209209
{
210210
code: ValidationErrorCodes.ValueOutOfRange,
211-
field: 'sellAmount',
212-
reason: 'INSUFFICIENT_ASSET_LIQUIDITY',
211+
field: 'excludedSources',
212+
reason: 'Request excluded all sources',
213213
},
214214
],
215215
},

test/swap_v0_test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,8 @@ describe(SUITE_NAME, () => {
176176
validationErrors: [
177177
{
178178
code: 1004,
179-
field: 'sellAmount',
180-
reason: 'INSUFFICIENT_ASSET_LIQUIDITY',
179+
field: 'excludedSources',
180+
reason: 'Request excluded all sources',
181181
},
182182
],
183183
},

0 commit comments

Comments
 (0)