Skip to content

Commit 516bbbc

Browse files
committed
[O2B-1508] fixed test
1 parent 8b726c6 commit 516bbbc

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

test/api/lhcFills.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -539,16 +539,16 @@ module.exports = () => {
539539

540540
it('should return 200 and an LHCFill array for beam types filter, multiple correct', (done) => {
541541
request(server)
542-
.get('/api/lhcFills?age[offset]=0&page[limit]=15&filter[beamsType]=Pb-Pb,p-p,p-Pb')
542+
.get('/api/lhcFills?page[offset]=0&page[limit]=15&filter[beamsType]=Pb-Pb,p-p,p-Pb')
543543
.expect(200)
544544
.end((err, res) => {
545545
if (err) {
546546
done(err);
547547
return;
548548
}
549549

550-
expect(res.body.data).to.have.lengthOf(5);
551-
expect(res.body.data[0].fillNumber).to.equal(6);
550+
expect(res.body.data).to.have.lengthOf(4);
551+
expect(res.body.data[0].fillNumber).to.equal(4);
552552

553553
done();
554554
});

0 commit comments

Comments
 (0)