Moved test collection to config.json, removed const (ES6 only)
diff --git a/config.json b/config.json
index a4466ef..0519621 100644
--- a/config.json
+++ b/config.json
@@ -1,4 +1,7 @@
{
+ "tests": {
+ "collection": "tests"
+ },
"usergrid": {
"appId": "sandbox",
"authFallback": "none",
diff --git a/tests/usergrid.js b/tests/usergrid.js
index 3808435..bdd4e82 100644
--- a/tests/usergrid.js
+++ b/tests/usergrid.js
@@ -9,7 +9,7 @@
UsergridAuth = require('../lib/auth'),
UsergridAppAuth = require('../lib/appAuth')
-const _collection = 'tests'
+var _collection = config.tests.collection
var _client = null
var _uuid = null