Skip to content

Commit c9cf89f

Browse files
committed
fixed broken tests
1 parent cc7ecd8 commit c9cf89f

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

HISTORY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* Propagate timeout event correctly to db instances.
44
* Application Monitoring API (APM) implemented.
55
* NOT providing replSet name in MongoClient connection URI will force single server connection. Fixes issue where it was impossible to directly connect to a replicaset member server.
6+
* Updated mongodb-core to 1.2.11.
67

78
2.0.42 08-18-2015
89
-----------------

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"legacy"
1414
],
1515
"dependencies": {
16-
"mongodb-core": "1.2.10"
16+
"mongodb-core": "1.2.11"
1717
, "readable-stream": "1.0.31"
1818
, "es6-promise": "2.1.1"
1919
},

test/functional/logger_tests.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,10 @@ exports['Should correctly log cursor'] = {
9696
var logged = false;
9797

9898
// Set the current logger
99-
Logger.setCurrentLogger(function() {
99+
Logger.setCurrentLogger(function(msg, context) {
100100
test.ok(msg != null);
101101
test.equal('debug', context.type);
102-
test.equal('Db', context.className);
102+
test.equal('Cursor', context.className);
103103
logged = true;
104104
});
105105

0 commit comments

Comments
 (0)