File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed
Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -1293,12 +1293,12 @@ describe('Views > AutogenView.vue', () => {
12931293 expect ( mockAxios ) . toHaveBeenCalled ( )
12941294 expect ( mockAxios ) . toHaveBeenLastCalledWith ( {
12951295 url : '/' ,
1296- method : 'POST ' ,
1297- data : common . createDataParams ( {
1296+ method : 'GET ' ,
1297+ params : {
12981298 command : 'listTestApiNames' ,
12991299 response : 'json' ,
13001300 listall : true
1301- } )
1301+ }
13021302 } )
13031303 expect ( param ) . toEqual ( {
13041304 name : 'testapiname' ,
@@ -1390,13 +1390,13 @@ describe('Views > AutogenView.vue', () => {
13901390 expect ( mockAxios ) . toHaveBeenCalled ( )
13911391 expect ( mockAxios ) . toHaveBeenLastCalledWith ( {
13921392 url : '/' ,
1393- method : 'POST ' ,
1394- data : common . createDataParams ( {
1393+ method : 'GET ' ,
1394+ params : {
13951395 command : 'listTemplates' ,
13961396 response : 'json' ,
13971397 listall : true ,
13981398 templatefilter : 'executable'
1399- } )
1399+ }
14001400 } )
14011401 expect ( param ) . toEqual ( {
14021402 name : 'id' ,
@@ -1429,13 +1429,13 @@ describe('Views > AutogenView.vue', () => {
14291429 expect ( mockAxios ) . toHaveBeenCalled ( )
14301430 expect ( mockAxios ) . toHaveBeenLastCalledWith ( {
14311431 url : '/' ,
1432- method : 'POST ' ,
1433- data : common . createDataParams ( {
1432+ method : 'GET ' ,
1433+ params : {
14341434 command : 'listIsos' ,
14351435 response : 'json' ,
14361436 listall : true ,
14371437 isofilter : 'executable'
1438- } )
1438+ }
14391439 } )
14401440 expect ( param ) . toEqual ( {
14411441 name : 'id' ,
@@ -1468,13 +1468,13 @@ describe('Views > AutogenView.vue', () => {
14681468 expect ( mockAxios ) . toHaveBeenCalled ( )
14691469 expect ( mockAxios ) . toHaveBeenLastCalledWith ( {
14701470 url : '/' ,
1471- method : 'POST ' ,
1472- data : common . createDataParams ( {
1471+ method : 'GET ' ,
1472+ params : {
14731473 command : 'listHosts' ,
14741474 response : 'json' ,
14751475 listall : true ,
14761476 type : 'routing'
1477- } )
1477+ }
14781478 } )
14791479 expect ( param ) . toEqual ( {
14801480 name : 'id' ,
You can’t perform that action at this time.
0 commit comments