@@ -16,7 +16,7 @@ describe('woql query', function () {
1616 global . sandbox . stub ( axios , "get" ) . returns ( Promise . resolve ( { status :200 , data : { } } ) ) ;
1717
1818 const woqlObject = WOQL . limit ( 2 ) . start ( 0 ) ;
19- woqlObject . execute ( global . client ) ;
19+ // woqlObject.execute(global.client);
2020 //WOQLClient.prototype.select = function (qurl, woql, opts)
2121 //global.client.select()
2222
@@ -458,13 +458,13 @@ describe('woql query object', function () {
458458 const woqlObject = WOQL . limit ( 2 ) . start ( 0 ) ;
459459 //console.log(woqlObject.getAllDocuments().json());
460460
461- woqlObject . loadVocabulary ( global . client ) ;
461+ // woqlObject.loadVocabulary(global.client);
462462 //expect(woqlObject.loadVocab(global.client).json()).to.eql(jsonObj);
463463
464464 } )
465465
466466 it ( 'check the isPaged method' , function ( ) {
467- global . sandbox . stub ( axios , "get" ) . returns ( Promise . resolve ( { status :200 , data : { } } ) ) ;
467+ // global.sandbox.stub(axios, "get").returns(Promise.resolve({status:200, data: {}}));
468468
469469 const woqlObjectTrue = WOQL . limit ( 2 ) . start ( 0 ) ;
470470 const woqlObjectFalse = WOQL . select ( "V1" , WOQL . triple ( "a" , "b" , "c" ) ) ;
@@ -475,7 +475,7 @@ describe('woql query object', function () {
475475 } )
476476
477477 it ( 'check the getPaged method' , function ( ) {
478- global . sandbox . stub ( axios , "get" ) . returns ( Promise . resolve ( { status :200 , data : { } } ) ) ;
478+ // global.sandbox.stub(axios, "get").returns(Promise.resolve({status:200, data: {}}));
479479
480480 const woqlObject = WOQL . limit ( 2 ) . start ( 0 ) ;
481481 const woqlObject2 = WOQL . limit ( 3 ) . start ( 10 ) ;
@@ -488,7 +488,7 @@ describe('woql query object', function () {
488488 } )
489489
490490 it ( 'check the setPage method' , function ( ) {
491- global . sandbox . stub ( axios , "get" ) . returns ( Promise . resolve ( { status :200 , data : { } } ) ) ;
491+ // global.sandbox.stub(axios, "get").returns(Promise.resolve({status:200, data: {}}));
492492
493493 const woqlObject = WOQL . limit ( 2 ) . start ( 0 ) ;
494494
0 commit comments