changed mongoose tests for schema set method

This commit is contained in:
idan.d
2018-08-17 01:43:48 +03:00
parent 53b6b3a758
commit fb2be72ade
+1 -1
View File
@@ -429,7 +429,7 @@ schema.queue('m1', [1, 2, 3]).queue('m2', [[]]);
schema.remove('path');
schema.remove(['path1', 'path2', 'path3']);
schema.requiredPaths(true)[0].toLowerCase();
schema.set('key', 999).set('key');
schema.set('id', true).set('id');
schema.static('static', cb).static({
s1: cb,
s2: cb