We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b726c6 commit 516bbbcCopy full SHA for 516bbbc
1 file changed
test/api/lhcFills.test.js
@@ -539,16 +539,16 @@ module.exports = () => {
539
540
it('should return 200 and an LHCFill array for beam types filter, multiple correct', (done) => {
541
request(server)
542
- .get('/api/lhcFills?age[offset]=0&page[limit]=15&filter[beamsType]=Pb-Pb,p-p,p-Pb')
+ .get('/api/lhcFills?page[offset]=0&page[limit]=15&filter[beamsType]=Pb-Pb,p-p,p-Pb')
543
.expect(200)
544
.end((err, res) => {
545
if (err) {
546
done(err);
547
return;
548
}
549
550
- expect(res.body.data).to.have.lengthOf(5);
551
- expect(res.body.data[0].fillNumber).to.equal(6);
+ expect(res.body.data).to.have.lengthOf(4);
+ expect(res.body.data[0].fillNumber).to.equal(4);
552
553
done();
554
});
0 commit comments