mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
avoid anonymous collection warning
This commit is contained in:
committed by
Nick Martin
parent
c09190366e
commit
5c43f21372
@@ -38,7 +38,7 @@ Tinytest.addAsync("mongo-livedata - basics", function (test, onComplete) {
|
||||
var run = test.runId();
|
||||
var coll;
|
||||
if (Meteor.is_client) {
|
||||
coll = new Meteor.Collection(); // local, unmanaged
|
||||
coll = new Meteor.Collection(null); // local, unmanaged
|
||||
} else {
|
||||
coll = new Meteor.Collection("livedata_test_collection_"+run);
|
||||
}
|
||||
@@ -152,7 +152,7 @@ Tinytest.addAsync("mongo-livedata - fuzz test", function(test, onComplete) {
|
||||
var run = test.runId();
|
||||
var coll;
|
||||
if (Meteor.is_client) {
|
||||
coll = new Meteor.Collection(); // local, unmanaged
|
||||
coll = new Meteor.Collection(null); // local, unmanaged
|
||||
} else {
|
||||
coll = new Meteor.Collection("livedata_test_collection_"+run);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user