Skip to content

Commit 3818cc7

Browse files
author
Hans Kristian Flaatten
committed
fix(test): only itterate over publicly accessible items
1 parent 1fc4b10 commit 3818cc7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ describe('api', function describe() {
6868

6969
let counter = 0;
7070
const opts = {
71+
status: 'Offentlig',
7172
tags: 'Bretur',
7273
limit: 10,
7374
};
@@ -77,7 +78,7 @@ describe('api', function describe() {
7778
process.nextTick(next);
7879
}, function eachDone(err) {
7980
assert.ifError(err);
80-
assert.equal(counter, 46);
81+
assert.equal(counter, 30);
8182

8283
done();
8384
});

0 commit comments

Comments
 (0)