Skip to content

Commit

Permalink
Apply all required parameters to Collection constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
lo1tuma committed Jul 6, 2015
1 parent 8fbd8ff commit d45355e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/nativeCollectionMethodNames.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ var getMethodNames = require('method-names'),
mongodb = require('mongodb');

function getNativeCollectionMethodNames() {
var dummyNativeDb = { options: {}, serverConfig: { options: {} } },
nativeCollection = new mongodb.Collection(dummyNativeDb, 'anyCollectionName');
var dummyNativeDb = { options: {} },
nativeCollection = new mongodb.Collection(dummyNativeDb, null, '', 'anyCollectionName', null, {});

return getMethodNames(nativeCollection);
}
Expand Down

0 comments on commit d45355e

Please sign in to comment.