Skip to content

Commit 1629373

Browse files
Few more assertions
Signed-off-by: Abhijit Gadgil <agadgil@progress.com>
1 parent 62eb2c5 commit 1629373

1 file changed

Lines changed: 3 additions & 8 deletions

File tree

test/builder-api/src/packages.js

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -702,19 +702,14 @@ describe('Working with packages', function () {
702702
.expect(200)
703703
.end(function (err, res) {
704704
expect(res.body.range_start).to.equal(0);
705-
expect(res.body.range_end).to.equal(2);
706-
expect(res.body.total_count).to.equal(3);
707-
expect(res.body.data.length).to.equal(3);
705+
expect(res.body.range_end).to.equal(1);
706+
expect(res.body.total_count).to.equal(2);
707+
expect(res.body.data.length).to.equal(2);
708708
expect(res.body.data[0].origin).to.equal('neurosis');
709709
expect(res.body.data[0].name).to.equal('testapp');
710710
expect(res.body.data[0].version).to.equal('0.1.3');
711711
expect(res.body.data[0].release).to.equal(release2);
712712
expect(res.body.data[0].platforms[0]).to.equal('x86_64-linux');
713-
expect(res.body.data[1].origin).to.equal('neurosis');
714-
expect(res.body.data[1].name).to.equal('testapp');
715-
expect(res.body.data[1].version).to.equal('0.1.3');
716-
expect(res.body.data[1].release).to.equal(release1);
717-
expect(res.body.data[1].platforms[0]).to.equal('x86_64-linux');
718713
done(err);
719714
});
720715
});

0 commit comments

Comments
 (0)