@@ -105,7 +105,7 @@ describe('# Requests', function () {
105
105
} ) ;
106
106
107
107
it ( 'should execute get requests without params non https' , async function ( ) {
108
- moxios . stubRequest ( 'https://magento.dev/rest/V1/orders?searchCriteria=all ' , {
108
+ moxios . stubRequest ( 'https://magento.dev/rest/V1/orders?searchCriteria=' , {
109
109
status : 200 ,
110
110
response : {
111
111
success : true ,
@@ -127,7 +127,7 @@ describe('# Requests', function () {
127
127
'tokenSecret' : 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
128
128
} ) ;
129
129
130
- moxios . stubRequest ( 'http://magento.dev/rest/V1/orders?searchCriteria=all ' , {
130
+ moxios . stubRequest ( 'http://magento.dev/rest/V1/orders?searchCriteria=' , {
131
131
status : 200 ,
132
132
response : {
133
133
success : true ,
@@ -149,7 +149,7 @@ describe('# Requests', function () {
149
149
'tokenSecret' : 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
150
150
} ) ;
151
151
152
- moxios . stubRequest ( 'http://magento.dev/rest/V1/orders?searchCriteria=all ' , {
152
+ moxios . stubRequest ( 'http://magento.dev/rest/V1/orders?searchCriteria=' , {
153
153
status : 200 ,
154
154
response : {
155
155
success : true ,
@@ -163,7 +163,7 @@ describe('# Requests', function () {
163
163
} ) ;
164
164
165
165
it ( 'should execute get requests with empty object params https' , async function ( ) {
166
- moxios . stubRequest ( 'https://magento.dev/rest/V1/orders?searchCriteria=all ' , {
166
+ moxios . stubRequest ( 'https://magento.dev/rest/V1/orders?searchCriteria=' , {
167
167
status : 200 ,
168
168
response : {
169
169
success : true ,
@@ -202,7 +202,7 @@ describe('# Requests', function () {
202
202
'sha' : 256
203
203
} ) ;
204
204
205
- moxios . stubRequest ( 'https://magento.dev/rest/V1/orders?searchCriteria=all ' , {
205
+ moxios . stubRequest ( 'https://magento.dev/rest/V1/orders?searchCriteria=' , {
206
206
status : 200 ,
207
207
response : {
208
208
success : true ,
0 commit comments