aboutsummaryrefslogtreecommitdiffstats
path: root/packages/connect/test
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-08-16 08:31:39 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-08-16 08:31:39 +0800
commit1c87e5f69809954add5e76de520e8ef4f405c1c0 (patch)
treef3c5dbb8cfb13d06822fb26dd6bbfbaa411ed853 /packages/connect/test
parentc325d638c98a990f2d0e991f2e03287183ba292f (diff)
downloaddexon-0x-contracts-1c87e5f69809954add5e76de520e8ef4f405c1c0.tar.gz
dexon-0x-contracts-1c87e5f69809954add5e76de520e8ef4f405c1c0.tar.zst
dexon-0x-contracts-1c87e5f69809954add5e76de520e8ef4f405c1c0.zip
Get orders async tests passing
Diffstat (limited to 'packages/connect/test')
-rw-r--r--packages/connect/test/http_client_test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/connect/test/http_client_test.ts b/packages/connect/test/http_client_test.ts
index 9cdcde71e..7a1781131 100644
--- a/packages/connect/test/http_client_test.ts
+++ b/packages/connect/test/http_client_test.ts
@@ -78,7 +78,7 @@ describe('HttpClient', () => {
page: 3,
perPage: 50,
};
- const urlWithQuery = `${url}?page=3&perPage=50&assetDataAddress=${assetDataAddress}`;
+ const urlWithQuery = `${url}?assetDataAddress=${assetDataAddress}&page=3&perPage=50`;
fetchMock.get(urlWithQuery, ordersResponseJSON);
const orders = await relayerClient.getOrdersAsync(ordersRequest);
expect(orders).to.be.deep.equal(ordersResponse);