(dbUrl, apiKey, dbName, usersCollection)
| 35 | |
| 36 | function mockUpMongoStrategy(test) { |
| 37 | var strategy = function(dbUrl, apiKey, dbName, usersCollection) { |
| 38 | test.equal(dbUrl, config.dbUrl); |
| 39 | test.equal(apiKey, config.apiKey); |
| 40 | test.equal(dbName, config.dbName); |
| 41 | test.equal(usersCollection, config.usersCollection); |
| 42 | }; |
| 43 | strategy.name = 'mongo'; |
| 44 | security.__set__('MongoStrategy', strategy); |
| 45 | } |
nothing calls this directly
no outgoing calls
no test coverage detected