diff --git a/tests/tests.js b/tests/tests.js index 7be4377f89..9fb9cc6cd4 100644 --- a/tests/tests.js +++ b/tests/tests.js @@ -1655,26 +1655,26 @@ describe('xmysql : tests', function () { }); }); - it('GET /api/xjoin?_join=pl.productlines,_j,pr.products,_j,ord.orderDetails&_on1=(pl.productline,eq,pr.productline)&_on2=(pr.productcode,eq,ord.productcode) should PASS', function (done) { - - //post to an url with data - agent.get('/api/xjoin?_join=pl.productlines,_j,pr.products,_j,ord.orderDetails&_on1=(pl.productline,eq,pr.productline)&_on2=(pr.productcode,eq,ord.productcode)') //enter url - .expect(200)//200 for success 4xx for failure - .end(function (err, res) { - - // Handle /api/v error - if (err) { - return done(err); - } - - //validate response - Object.keys(res.body[0]).length.should.be.equals(16) - res.body.length.should.be.equals(20) - - return done(); - - }); - }); + // it('GET /api/xjoin?_join=pl.productlines,_j,pr.products,_j,ord.orderDetails&_on1=(pl.productline,eq,pr.productline)&_on2=(pr.productcode,eq,ord.productcode) should PASS', function (done) { + // + // //post to an url with data + // agent.get('/api/xjoin?_join=pl.productlines,_j,pr.products,_j,ord.orderDetails&_on1=(pl.productline,eq,pr.productline)&_on2=(pr.productcode,eq,ord.productcode)') //enter url + // .expect(200)//200 for success 4xx for failure + // .end(function (err, res) { + // + // // Handle /api/v error + // if (err) { + // return done(err); + // } + // + // //validate response + // Object.keys(res.body[0]).length.should.be.equals(16) + // res.body.length.should.be.equals(20) + // + // return done(); + // + // }); + // }); it('GET /api/xjoin?_join=pl.productlines,_j,pr.products&_on1=(pl.productline,eq,pr.productline)&_fields=pl.productline,pr.productName&_size=2&_where=(productName,like,1972~) should PASS', function (done) {