}
}
+ /**
+ * @method includeReferenceContentTypeUid
+ * @memberOf Query
+ * @description This method also includes the content type UIDs of the referenced entries returned in the response.
+ * @example Stack.ContentType("contentType_uid").Query().includeReferenceContentTypeUID().find()
+ * @example
+ * let blogQuery = Stack.ContentType("contentType_uid").Query();
+ * let data = blogQuery.includeReferenceContentTypeUID().find()
+ * data.then(function(result) {
+ * // ‘result’ contains a list of entries in which content type UIDs is present.
+ * },function (error) {
+ * // error function
+ * })
+ * @returns {Query}
+ * @instance
+ */
+ includeReferenceContentTypeUID() {
+ this._query['include_reference_content_type_uid'] = true;
+ return this;
+ }
+
+
/**
* @method includeCount
* @memberOf Query
@@ -579,7 +601,6 @@
* @returns {Query}
* @instance
*/
-
addParam(key, value) {
if (key && value && typeof key === 'string' && typeof value === 'string') {
this._query[key] = value;
@@ -644,7 +665,7 @@
* })
* @returns {Query}
* @instance
- */
+ */
search(value) {
if (value && typeof value === 'string') {
this._query['typeahead'] = value;
@@ -712,6 +733,7 @@
query: this._query
}
};
+
return Utils.sendRequest(this);
}
diff --git a/js-sdk-reference/modules_result.js.html b/js-sdk-reference/modules_result.js.html
index 150ddbd5..e459cdcb 100755
--- a/js-sdk-reference/modules_result.js.html
+++ b/js-sdk-reference/modules_result.js.html
@@ -33,7 +33,7 @@
diff --git a/js-sdk-reference/stack.js.html b/js-sdk-reference/stack.js.html
index 073de66c..d5a5cf25 100755
--- a/js-sdk-reference/stack.js.html
+++ b/js-sdk-reference/stack.js.html
@@ -33,7 +33,7 @@
@@ -331,7 +331,23 @@
stack.js
* @method Assets
* @memberOf Stack
* @param {String} uid - uid of the asset
- * @description Retrieves the asset based on the specified UID
+ * @description Retrieves all assets of a stack by default. To retrieve a single asset, specify its UID.
+ * @example
+ * let data = Stack.Assets('bltsomething123').toJSON().fetch()
+ * data
+ * .then(function(result) {
+ * // ‘result’ is a single asset object of specified uid
+ * }, function(error) {
+ * // error function
+ * })
+ * @example
+ * let data = Stack.Assets().toJSON().find()
+ * data
+ * .then(function(result) {
+ * // ‘result’ will display all assets present in stack
+ * }, function(error) {
+ * // error function
+ * })
* @returns {Assets}
* @instance
*/
diff --git a/package.json b/package.json
index 6069584e..1e2c9a8d 100755
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "contentstack",
- "version": "3.6.0",
+ "version": "3.7.0",
"description": "Contentstack Javascript SDK",
"homepage": "https://www.contentstack.com/",
"author": {
diff --git a/src/core/modules/assets.js b/src/core/modules/assets.js
index 9cd6b573..9b480ec7 100755
--- a/src/core/modules/assets.js
+++ b/src/core/modules/assets.js
@@ -6,7 +6,7 @@ import Query from './query';
* @class
Assets
* @summary Creates an instance of `Assets`.
-* @description Retrieves the asset based on the specified UID
+* @description Retrieves all assets of a stack by default. To retrieve a single asset, specify its UID.
* @param {String} uid - uid of asset you want to retrieve
* @example
* let data = Stack.Assets('bltsomething123').toJSON().fetch()
@@ -16,6 +16,14 @@ import Query from './query';
* }, function(error) {
* // error function
* })
+* @example
+* let data = Stack.Assets().toJSON().find()
+* data
+* .then(function(result) {
+* // ‘result’ will display all assets present in stack
+* }, function(error) {
+* // error function
+* })
* @returns {Assets}
* @instance
*/
diff --git a/src/core/modules/entry.js b/src/core/modules/entry.js
index 8e6850a1..01c38a68 100755
--- a/src/core/modules/entry.js
+++ b/src/core/modules/entry.js
@@ -193,6 +193,29 @@ export default class Entry {
return this;
}
+ /**
+ * @method includeReferenceContentTypeUid
+ * @memberOf Entry
+ * @description This method also includes the content type UIDs of the referenced entries returned in the response.
+ * @example Stack.ContentType("contentType_uid").Entry("entry_uid").includeReferenceContentTypeUID().fetch()
+ * @example
+ * Query = Stack.ContentType("contentType_uid").Entry("entry_uid").includeReferenceContentTypeUID().fetch()
+ * Query
+ * .toJSON()
+ * .then(function (result) {
+ * let value = result.get(field_uid)
+ * },function (error) {
+ * // error function
+ * })
+ * @returns {Entry}
+ * @instance
+ */
+ includeReferenceContentTypeUID() {
+ this._query['include_reference_content_type_uid'] = true;
+ return this;
+ }
+
+
/**
* @method includeContentType
* @memberOf Entry
diff --git a/src/core/modules/query.js b/src/core/modules/query.js
index 868f095a..63ea1119 100755
--- a/src/core/modules/query.js
+++ b/src/core/modules/query.js
@@ -497,6 +497,28 @@ export default class Query extends Entry {
}
}
+ /**
+ * @method includeReferenceContentTypeUid
+ * @memberOf Query
+ * @description This method also includes the content type UIDs of the referenced entries returned in the response.
+ * @example Stack.ContentType("contentType_uid").Query().includeReferenceContentTypeUID().find()
+ * @example
+ * let blogQuery = Stack.ContentType("contentType_uid").Query();
+ * let data = blogQuery.includeReferenceContentTypeUID().find()
+ * data.then(function(result) {
+ * // ‘result’ contains a list of entries in which content type UIDs is present.
+ * },function (error) {
+ * // error function
+ * })
+ * @returns {Query}
+ * @instance
+ */
+ includeReferenceContentTypeUID() {
+ this._query['include_reference_content_type_uid'] = true;
+ return this;
+ }
+
+
/**
* @method includeCount
* @memberOf Query
@@ -530,7 +552,6 @@ export default class Query extends Entry {
* @returns {Query}
* @instance
*/
-
addParam(key, value) {
if (key && value && typeof key === 'string' && typeof value === 'string') {
this._query[key] = value;
@@ -595,7 +616,7 @@ export default class Query extends Entry {
* })
* @returns {Query}
* @instance
- */
+ */
search(value) {
if (value && typeof value === 'string') {
this._query['typeahead'] = value;
@@ -663,6 +684,7 @@ export default class Query extends Entry {
query: this._query
}
};
+
return Utils.sendRequest(this);
}
diff --git a/src/core/stack.js b/src/core/stack.js
index 6051fc76..2a718278 100755
--- a/src/core/stack.js
+++ b/src/core/stack.js
@@ -282,7 +282,23 @@ export default class Stack {
* @method Assets
* @memberOf Stack
* @param {String} uid - uid of the asset
- * @description Retrieves the asset based on the specified UID
+ * @description Retrieves all assets of a stack by default. To retrieve a single asset, specify its UID.
+ * @example
+ * let data = Stack.Assets('bltsomething123').toJSON().fetch()
+ * data
+ * .then(function(result) {
+ * // ‘result’ is a single asset object of specified uid
+ * }, function(error) {
+ * // error function
+ * })
+ * @example
+ * let data = Stack.Assets().toJSON().find()
+ * data
+ * .then(function(result) {
+ * // ‘result’ will display all assets present in stack
+ * }, function(error) {
+ * // error function
+ * })
* @returns {Assets}
* @instance
*/
diff --git a/test/asset/find-result-wrapper.js b/test/asset/find-result-wrapper.js
index aa32a41b..d74b6eb0 100755
--- a/test/asset/find-result-wrapper.js
+++ b/test/asset/find-result-wrapper.js
@@ -673,7 +673,7 @@ test('.only() - Single String Parameter', function(assert) {
.then(function success(assets) {
var flag = assets[0].every(function(asset) {
asset = asset.toJSON();
- return (asset && Object.keys(asset).length === 3 && "title" in asset && "uid" in asset && "url" in asset);
+ return (asset && Object.keys(asset).length === 4 && "title" in asset && "uid" in asset && 'url' in asset);
});
assert.ok(flag, 'assets with the field title in the resultset');
assert.end();
@@ -693,7 +693,7 @@ test('.only() - Multiple String Parameter', function(assert) {
.then(function success(assets) {
var flag = assets[0].every(function(asset) {
asset = asset.toJSON();
- return (asset && Object.keys(asset).length === 3 && "title" in asset && "uid" in asset && "url" in asset);
+ return (asset && Object.keys(asset).length === 4 && "title" in asset && "uid" in asset && 'url' in asset);
});
assert.ok(flag, 'assets with the field title in the resultset');
assert.end();
@@ -713,7 +713,7 @@ test('.only() - Array Parameter', function(assert) {
.then(function success(assets) {
var flag = assets[0].every(function(asset) {
asset = asset.toJSON();
- return (asset && Object.keys(asset).length === 4 && "title" in asset && "filename" in asset && "uid" in asset);
+ return (asset && Object.keys(asset).length === 4 && "title" in asset && "filename" in asset && "uid" in asset && 'url' in asset);
});
assert.ok(flag, 'assets with the field title,url in the resultset');
assert.end();
diff --git a/test/asset/find.js b/test/asset/find.js
index d90ee6ee..986052bd 100755
--- a/test/asset/find.js
+++ b/test/asset/find.js
@@ -711,7 +711,7 @@ test('.only() - Single String Parameter', function(assert) {
.then(function success(assets) {
assert.ok(assets[0].length, 'assets present in the resultset');
var flag = assets[0].every(function(asset) {
- return (asset && Object.keys(asset).length === 3 && "title" in asset && "uid" in asset && "url" in asset);
+ return (asset && Object.keys(asset).length === 4 && "title" in asset && "uid" in asset && 'url' in asset);
});
assert.ok(flag, 'assets with the field title in the resultset');
assert.end();
@@ -733,7 +733,7 @@ test('.only() - Multiple String Parameter', function(assert) {
.then(function success(assets) {
assert.ok(assets[0].length, 'assets present in the resultset');
var flag = assets[0].every(function(asset) {
- return (asset && Object.keys(asset).length === 3 && "title" in asset && "uid" in asset);
+ return (asset && Object.keys(asset).length === 4 && "title" in asset && "uid" in asset && 'url' in asset);
});
assert.ok(flag, 'assets with the field title in the resultset');
assert.end();
diff --git a/test/entry/find-result-wrapper.js b/test/entry/find-result-wrapper.js
index 18f00f55..e2fcb4f7 100755
--- a/test/entry/find-result-wrapper.js
+++ b/test/entry/find-result-wrapper.js
@@ -861,7 +861,7 @@ test('.only() - Single String Parameter', function(assert) {
// assert.ok("entries" in result, 'Entries key present in the resultset');
var flag = entries[0].every(function(entry) {
entry = entry.toJSON();
- return (entry && Object.keys(entry).length === 3 && "title" in entry && "uid" in entry && "url" in entry);
+ return (entry && Object.keys(entry).length === 2 && "title" in entry && "uid" in entry);
});
assert.ok(flag, 'entries with the field title in the resultset');
assert.end();
@@ -882,7 +882,7 @@ test('.only() - Multiple String Parameter', function(assert) {
// assert.ok("entries" in result, 'Entries key present in the resultset');
var flag = entries[0].every(function(entry) {
entry = entry.toJSON();
- return (entry && Object.keys(entry).length === 3 && "title" in entry && "uid" in entry && "url" in entry);
+ return (entry && Object.keys(entry).length === 2 && "title" in entry && "uid" in entry);
});
assert.ok(flag, 'entries with the field title in the resultset');
assert.end();
@@ -1063,7 +1063,7 @@ test('.except() - For the reference - String', function(assert) {
} else {
_flag = false;
}
- return (_flag && entry && Object.keys(entry).length === 3 && "reference" in entry && "uid" in entry && "url" in entry);
+ return (_flag && entry && Object.keys(entry).length === 2 && "reference" in entry && "uid" in entry);
});
assert.ok(flag, 'entries withthe field reference without title field in the resultset');
assert.end();
@@ -1095,7 +1095,7 @@ test('.except() - For the reference - Array', function(assert) {
} else {
_flag = false;
}
- return (_flag && entry && Object.keys(entry).length === 3 && "reference" in entry && "uid" in entry && "url" in entry);
+ return (_flag && entry && Object.keys(entry).length === 2 && "reference" in entry && "uid" in entry);
});
assert.ok(flag, 'entries with the field reference without title field in the resultset');
assert.end();
diff --git a/test/entry/find.js b/test/entry/find.js
index 821764c5..0d1ddd7a 100755
--- a/test/entry/find.js
+++ b/test/entry/find.js
@@ -312,7 +312,7 @@ test('.where() compare boolean value (false)', function(assert) {
.find()
.then(function success(entries) {
assert.ok(entries[0].length, 'Entries present in the resultset');
- assert.equal(entries[0].length, 4, ' three entries present in the resultset');
+ assert.equal(entries[0].length, 3, ' three entries present in the resultset');
assert.end();
}, function error(err) {
console.error("error :", err);
@@ -347,7 +347,7 @@ test('.equalTo() compare boolean value (true)', function(assert) {
.find()
.then(function success(entries) {
assert.ok(entries[0].length, 'Entries present in the resultset');
- assert.equal(entries[0].length, 2, ' three entries present in the resultset');
+ assert.equal(entries[0].length, 4, ' four entries present in the resultset');
assert.end();
}, function error(err) {
console.error("error :", err);
@@ -364,7 +364,7 @@ test('.equalTo() compare boolean value (false)', function(assert) {
.find()
.then(function success(entries) {
assert.ok(entries[0].length, 'Entries present in the resultset');
- assert.equal(entries[0].length, 4, ' three entries present in the resultset');
+ assert.equal(entries[0].length, 3, ' three entries present in the resultset');
assert.end();
}, function error(err) {
console.error("error :", err);
@@ -373,9 +373,9 @@ test('.equalTo() compare boolean value (false)', function(assert) {
});
});
-/*!
- * Array/Subset
- * !*/
+// /*!
+// * Array/Subset
+// * !*/
test('.containedIn()', function(assert) {
var Query = Stack.ContentType(contentTypes.source).Query(),
@@ -770,8 +770,6 @@ test('.includeReference() - String', function(assert) {
.toJSON()
.find()
.then(function success(entries) {
- // assert.ok("entries" in result, 'Entries key present in the resultset');
- //assert.equal(Utils.isEntriesPublished(entries[0], Stack.environment_uid, 'en-us'), true, "Entries present in the resultset are published.");
var flag = entries[0].every(function(entry) {
return (entry && entry.reference && typeof entry.reference === 'object');
});
@@ -848,6 +846,55 @@ test('.includeSchema()', function(assert) {
});
});
+// includeReferenceContenttypeUid with an object
+test('.includeReferenceContenttypeUid()', function(assert) {
+ var Query = Stack.ContentType(contentTypes.source).Query();
+
+ Query
+ .includeSchema()
+ .includeReferenceContentTypeUID()
+ .toJSON()
+ .find()
+ .then(function success(entries) {
+ for(var i=0; i>>>>>>", JSON.stringify(reference))
// return (reference && !("title" in reference));
// });
// } else {
-
-// console.log("sdchdsjcbdjcbjd")
// _flag = false;
// }
// return (_flag && entry && Object.keys(entry).length === 3 && "reference" in entry && "uid" in entry && "url" in entry);
diff --git a/test/entry/findone-result-wrapper.js b/test/entry/findone-result-wrapper.js
index 9c455041..ae31a36a 100755
--- a/test/entry/findone-result-wrapper.js
+++ b/test/entry/findone-result-wrapper.js
@@ -514,7 +514,7 @@ test('findOne: .only() - Single String Parameter', function(assert) {
.findOne()
.then(function success(entry) {
entry = entry.toJSON();
- var flag = (entry && Object.keys(entry).length === 3 && "title" in entry && "uid" in entry && "url" in entry);
+ var flag = (entry && Object.keys(entry).length === 2 && "title" in entry && "uid" in entry);
assert.ok(flag, 'entry with the field title in the resultset');
assert.end();
}, function error(err) {
@@ -532,7 +532,7 @@ test('findOne: .only() - Multiple String Parameter', function(assert) {
.findOne()
.then(function success(entry) {
entry = entry.toJSON();
- var flag = (entry && Object.keys(entry).length === 3 && "title" in entry && "uid" in entry && "url" in entry);
+ var flag = (entry && Object.keys(entry).length === 2 && "title" in entry && "uid" in entry);
assert.ok(flag, 'entry with the field title in the resultset');
assert.end();
}, function error(err) {
@@ -550,7 +550,7 @@ test('findOne: .only() - Array Parameter', function(assert) {
.findOne()
.then(function success(entry) {
entry = entry.toJSON();
- var flag = (entry && Object.keys(entry).length === 3 && "title" in entry && "url" in entry && "uid" in entry);
+ var flag = (entry && Object.keys(entry).length === 3 && "title" in entry && "uid" in entry && "url" in entry);
assert.ok(flag, 'entry with the field title,url in the resultset');
assert.end();
}, function error(err) {
@@ -599,7 +599,7 @@ test('findOne: .only() - For the reference - Array', function(assert) {
return (reference && "title" in reference && "uid" in reference);
});
}
- assert.equal(flag, true, 'Entry has the reference with only paramteres.');
+ assert.equal(flag, false, 'Entry do not have the reference with only paramteres.');
assert.end();
}, function error(err) {
console.error("Error :", err);
diff --git a/test/entry/findone.js b/test/entry/findone.js
index aa33498c..242ee6c1 100755
--- a/test/entry/findone.js
+++ b/test/entry/findone.js
@@ -339,27 +339,27 @@ test('findOne: .query() - Raw query', function(assert) {
});
-// // tags
-// test('findOne: .tags()', function(assert) {
-// var Query = Stack.ContentType(contentTypes.source).Query(),
-// tags = ["tag1", "tag2"];
-
-// Query
-// .tags(tags)
-// .toJSON().findOne()
-// .then(function success(entry) {
-// assert.ok((entry && entry.uid && entry.locale && entry.publish_details), 'Entry should have publish_details, uid, locale.');
-// assert.equal((Utils.arrayPresentInArray(tags, entry.tags) > 0), true, 'Tags specified are found in result set');
-// assert.end();
-// }, function error(err) {
-// console.error("Error :",err);
-// assert.fail("findOne: .tags()");
-// assert.end();
-// });
-// });
+// tags
+test('findOne: .tags()', function(assert) {
+ var Query = Stack.ContentType(contentTypes.source).Query(),
+ tags = ["tag1", "tag2"];
+ Query
+ .tags(tags)
+ .toJSON().findOne()
+ .then(function success(entry) {
+ assert.ok((entry && entry.uid && entry.locale && entry.publish_details), 'Entry should have publish_details, uid, locale.');
+ assert.equal((Utils.arrayPresentInArray(tags, entry.tags) > 0), true, 'Tags specified are found in result set');
+ assert.end();
+ }, function error(err) {
+ console.error("Error :",err);
+ assert.fail("findOne: .tags()");
+ assert.end();
+ });
+});
-// search
+
+//search
test('findOne: .search()', function(assert) {
var Query = Stack.ContentType(contentTypes.source).Query();
@@ -506,7 +506,7 @@ test('findOne: .only() - Single String Parameter', function(assert) {
.only('title')
.toJSON().findOne()
.then(function success(entry) {
- var flag = (entry && Object.keys(entry).length === 3 && "title" in entry && "uid" in entry && "url" in entry);
+ var flag = (entry && Object.keys(entry).length === 2 && "title" in entry && "uid" in entry);
assert.ok(flag, 'entry with the field title in the resultset');
assert.end();
}, function error(err) {
@@ -523,7 +523,7 @@ test('findOne: .only() - Multiple String Parameter', function(assert) {
.only('BASE', 'title')
.toJSON().findOne()
.then(function success(entry) {
- var flag = (entry && Object.keys(entry).length === 3 && "title" in entry && "uid" in entry && "url" in entry);
+ var flag = (entry && Object.keys(entry).length === 2 && "title" in entry && "uid" in entry);
assert.ok(flag, 'entry with the field title in the resultset');
assert.end();
}, function error(err) {
@@ -589,7 +589,7 @@ test('findOne: .only() - For the reference - Array', function(assert) {
return (reference && "title" in reference && "uid" in reference);
});
}
- assert.equal(flag, true, 'Entry has the reference with only paramteres.');
+ assert.equal(flag, false, 'Entry has the reference with only paramteres.');
assert.end();
}, function error(err) {
console.error("Error :", err);
diff --git a/test/index.js b/test/index.js
index 7e72a97c..a01b86af 100755
--- a/test/index.js
+++ b/test/index.js
@@ -1,14 +1,14 @@
// Entries
- require('./entry/find');
+require('./entry/find');
require('./entry/find-result-wrapper');
require('./entry/findone');
require('./entry/findone-result-wrapper');
require('./entry/spread');
-require('./sync/sync-testcases');
+//require('./sync/sync-testcases');
-// Assets
-require('./asset/find');
-require('./asset/find-result-wrapper');
-require('./asset/spread');
-require('./asset/image-transformation.js');
\ No newline at end of file
+ // Assets
+ require('./asset/find');
+ require('./asset/find-result-wrapper');
+ require('./asset/spread');
+ require('./asset/image-transformation.js');
\ No newline at end of file
diff --git a/test/report.json b/test/report.json
deleted file mode 100644
index 8b22902b..00000000
--- a/test/report.json
+++ /dev/null
@@ -1 +0,0 @@
-{"stats":{"asserts":442,"passes":422,"failures":20},"asserts":[{"number":1,"comment":"default .find()","name":"Entries present in the resultset","ok":true,"extra":{}},{"number":2,"comment":"default .find()","name":"Count should not be present","ok":true,"extra":{}},{"number":3,"comment":"default .find()","name":"default sorting of descending 'updated_at'","ok":true,"extra":{}},{"number":4,"comment":".ascending()","name":"Entries present in the resultset","ok":true,"extra":{}},{"number":5,"comment":".ascending()","name":"entries sorted ascending on 'updated_at' field","ok":true,"extra":{}},{"number":6,"comment":".descending()","name":"Entries present in the resultset","ok":true,"extra":{}},{"number":7,"comment":".descending()","name":"entries sorted descending on 'created_at' field","ok":true,"extra":{}},{"number":8,"comment":".addParam()","name":"Entries length present in the resultset","ok":true,"extra":{}},{"number":9,"comment":".addParam()","name":"count present in the resultset","ok":true,"extra":{}},{"number":10,"comment":".lessThan()","name":"1 Entry present in the resultset","ok":true,"extra":{}},{"number":11,"comment":".lessThan()","name":"entries sorted descending on 'num_field' field","ok":true,"extra":{}},{"number":12,"comment":".lessThanOrEqualTo()","name":"Entries present in the resultset","ok":true,"extra":{}},{"number":13,"comment":".lessThanOrEqualTo()","name":"entries sorted descending on 'updated_at' field","ok":true,"extra":{}},{"number":14,"comment":".greaterThan()","name":"Entries present in the resultset","ok":true,"extra":{}},{"number":15,"comment":".greaterThan()","name":"entries sorted ascending on 'num_field' field","ok":true,"extra":{}},{"number":16,"comment":".greaterThanOrEqualTo()","name":"Entries present in the resultset","ok":true,"extra":{}},{"number":17,"comment":".greaterThanOrEqualTo()","name":"entries sorted descending on 'num_field' field","ok":true,"extra":{}},{"number":18,"comment":".notEqualTo()","name":"Entries present in the resultset","ok":true,"extra":{}},{"number":19,"comment":".notEqualTo()","name":"entries sorted descending on 'num_field' field","ok":true,"extra":{}},{"number":20,"comment":".where() compare boolean value (true)","name":"Entries present in the resultset","ok":true,"extra":{}},{"number":21,"comment":".where() compare boolean value (true)","name":"two entries present in the resultset","ok":true,"extra":{}},{"number":22,"comment":".where() compare boolean value (false)","name":"Entries present in the resultset","ok":true,"extra":{}},{"number":23,"comment":".where() compare boolean value (false)","name":"three entries present in the resultset","ok":false,"extra":{"operator":"equal","expected":"4","actual":"2"}},{"number":24,"comment":".where()","name":"zero entry present in the resultset","ok":true,"extra":{}},{"number":25,"comment":".equalTo() compare boolean value (true)","name":"Entries present in the resultset","ok":true,"extra":{}},{"number":26,"comment":".equalTo() compare boolean value (true)","name":"three entries present in the resultset","ok":false,"extra":{"operator":"equal","expected":"2","actual":"4"}},{"number":27,"comment":".equalTo() compare boolean value (false)","name":"Entries present in the resultset","ok":true,"extra":{}},{"number":28,"comment":".equalTo() compare boolean value (false)","name":"three entries present in the resultset","ok":false,"extra":{"operator":"equal","expected":"4","actual":"2"}},{"number":29,"comment":".containedIn()","name":"Entries present in the resultset","ok":true,"extra":{}},{"number":30,"comment":".containedIn()","name":"2","ok":true,"extra":{}},{"number":31,"comment":".containedIn()","name":"entries sorted descending on 'updated_at' field","ok":true,"extra":{}},{"number":32,"comment":".notContainedIn()","name":"No Entry present in the resultset","ok":true,"extra":{}},{"number":33,"comment":".notContainedIn()","name":"3","ok":true,"extra":{}},{"number":34,"comment":".exists()","name":"Entries present in the resultset","ok":true,"extra":{}},{"number":35,"comment":".exists()","name":"entries sorted descending on 'updated_at' field","ok":true,"extra":{}},{"number":36,"comment":".notExists()","name":"Entries key present in the resultset","ok":true,"extra":{}},{"number":37,"comment":".notExists()","name":"entries sorted descending on 'updated_at' field","ok":true,"extra":{}},{"number":38,"comment":".skip()","name":"2 or more Entries present in the resultset","ok":true,"extra":{}},{"number":39,"comment":".skip()","name":"All elements matched.","ok":true,"extra":{}},{"number":40,"comment":".skip()","name":"entries sorted descending on 'updated_at' field","ok":true,"extra":{}},{"number":41,"comment":".limit()","name":"Entries present in the resultset","ok":true,"extra":{}},{"number":42,"comment":".limit()","name":"All elements matched.","ok":true,"extra":{}},{"number":43,"comment":".limit()","name":"entries sorted descending on 'updated_at' field","ok":true,"extra":{}},{"number":44,"comment":".count()","name":"Entries present in the resultset","ok":true,"extra":{}},{"number":45,"comment":".or() - Query Objects","name":"Entries present in the resultset","ok":true,"extra":{}},{"number":46,"comment":".or() - Query Objects","name":"2","ok":true,"extra":{}},{"number":47,"comment":".or() - Query Objects","name":"$OR condition satisfied","ok":true,"extra":{}},{"number":48,"comment":".and() - Query Objects","name":"1 Entry present in the resultset","ok":true,"extra":{}},{"number":49,"comment":".and() - Query Objects","name":"$AND condition satisfied","ok":true,"extra":{}},{"number":50,"comment":".query() - Raw query","name":"Entries present in the resultset","ok":true,"extra":{}},{"number":51,"comment":".query() - Raw query","name":"2","ok":true,"extra":{}},{"number":52,"comment":".query() - Raw query","name":"$OR condition satisfied","ok":true,"extra":{}},{"number":53,"comment":".tags()","name":"1 or more Entry/Entries present in the resultset","ok":true,"extra":{}},{"number":54,"comment":".tags()","name":"Tags specified are found in result set","ok":true,"extra":{}},{"number":55,"comment":".search()","name":"1 Entry present in the resultset","ok":true,"extra":{}},{"number":56,"comment":".regex()","name":"1 or more Entry/Entries present in the resultset","ok":true,"extra":{}},{"number":57,"comment":".regex()","name":"regexp satisfied for all the entries in the resultset","ok":true,"extra":{}},{"number":58,"comment":".includeReference() - String","name":"all the present reference are included","ok":true,"extra":{}},{"number":59,"comment":".includeReference() - Array","name":"all the present reference are included","ok":true,"extra":{}},{"number":60,"comment":".includeCount()","name":"Entries present in the resultset","ok":true,"extra":{}},{"number":61,"comment":".includeCount()","name":"Count present in the resultset","ok":true,"extra":{}},{"number":62,"comment":".includeSchema()","name":"Entries present in the resultset","ok":true,"extra":{}},{"number":63,"comment":".includeSchema()","name":"Schema present in the resultset","ok":true,"extra":{}},{"number":64,"comment":".includeCount() and .includeSchema()","name":"Entries present in the resultset","ok":true,"extra":{}},{"number":65,"comment":".includeCount() and .includeSchema()","name":"Schema present in the resultset","ok":true,"extra":{}},{"number":66,"comment":".includeCount() and .includeSchema()","name":"Count present in the resultset","ok":true,"extra":{}},{"number":67,"comment":".includeContentType()","name":"Entries present in the resultset","ok":true,"extra":{}},{"number":68,"comment":".includeContentType()","name":"ContentType present in the resultset","ok":true,"extra":{}},{"number":69,"comment":".includeContentType()","name":"ContentType title exists","ok":true,"extra":{}},{"number":70,"comment":".includeContentType()","name":"ContentType uid is same as requested","ok":true,"extra":{}},{"number":71,"comment":".includeCount() and .includeContentType()","name":"Entries present in the resultset","ok":true,"extra":{}},{"number":72,"comment":".includeCount() and .includeContentType()","name":"ContentType present in the resultset","ok":true,"extra":{}},{"number":73,"comment":".includeCount() and .includeContentType()","name":"ContentType title exists","ok":true,"extra":{}},{"number":74,"comment":".includeCount() and .includeContentType()","name":"ContentType uid is same as requested","ok":true,"extra":{}},{"number":75,"comment":".includeCount() and .includeContentType()","name":"Count present in the resultset","ok":true,"extra":{}},{"number":76,"comment":".includeSchema() and .includeContentType()","name":"Entries present in the resultset","ok":true,"extra":{}},{"number":77,"comment":".includeSchema() and .includeContentType()","name":"ContentType present in the resultset","ok":true,"extra":{}},{"number":78,"comment":".includeSchema() and .includeContentType()","name":"ContentType title exists","ok":true,"extra":{}},{"number":79,"comment":".includeSchema() and .includeContentType()","name":"ContentType uid is same as requested","ok":true,"extra":{}},{"number":80,"comment":".includeSchema() and .includeContentType()","name":"Entries present in the resultset","ok":true,"extra":{}},{"number":81,"comment":".includeSchema() and .includeContentType()","name":"ContentType present in the resultset","ok":true,"extra":{}},{"number":82,"comment":".includeSchema() and .includeContentType()","name":"ContentType title exists","ok":true,"extra":{}},{"number":83,"comment":".includeSchema() and .includeContentType()","name":"ContentType uid is same as requested","ok":true,"extra":{}},{"number":84,"comment":".includeSchema() and .includeContentType()","name":"Count present in the resultset","ok":true,"extra":{}},{"number":85,"comment":".only() - Single String Parameter","name":"entries with the field title in the resultset","ok":true,"extra":{}},{"number":86,"comment":".only() - Multiple String Parameter","name":"entries with the field title in the resultset","ok":true,"extra":{}},{"number":87,"comment":".only() - Array Parameter","name":"entries with the field title,url in the resultset","ok":true,"extra":{}},{"number":88,"comment":".except() - Single String Parameter","name":"entries without the field title in the resultset","ok":true,"extra":{}},{"number":89,"comment":".except() - Multiple String Parameter","name":"entries without the field title, url in the resultset","ok":true,"extra":{}},{"number":90,"comment":".except() - Array of String Parameter","name":"entries without the field title, file in the resultset","ok":true,"extra":{}},{"number":91,"comment":"default .find()","name":"Entries present in the resultset","ok":true,"extra":{}},{"number":92,"comment":"default .find()","name":"Count should not present in the result","ok":true,"extra":{}},{"number":93,"comment":"default .find()","name":"default sorting of descending 'updated_at'","ok":true,"extra":{}},{"number":94,"comment":".ascending()","name":"Entries present in the resultset","ok":true,"extra":{}},{"number":95,"comment":".ascending()","name":"entries sorted ascending on 'updated_at' field","ok":true,"extra":{}},{"number":96,"comment":".descending()","name":"Entries present in the resultset","ok":true,"extra":{}},{"number":97,"comment":".descending()","name":"entries sorted descending on 'created_at' field","ok":true,"extra":{}},{"number":98,"comment":".lessThan()","name":"1 Entry present in the resultset","ok":true,"extra":{}},{"number":99,"comment":".lessThan()","name":"entries sorted descending on 'updated_at' field","ok":true,"extra":{}},{"number":100,"comment":".lessThanOrEqualTo()","name":"Entries present in the resultset","ok":true,"extra":{}},{"number":101,"comment":".lessThanOrEqualTo()","name":"entries sorted descending on 'updated_at' field","ok":true,"extra":{}},{"number":102,"comment":".greaterThan()","name":"Entries present in the resultset","ok":true,"extra":{}},{"number":103,"comment":".greaterThan()","name":"entries sorted ascending on 'num_field' field","ok":true,"extra":{}},{"number":104,"comment":".greaterThanOrEqualTo()","name":"Entries present in the resultset","ok":true,"extra":{}},{"number":105,"comment":".greaterThanOrEqualTo()","name":"entries sorted descending on 'num_field' field","ok":true,"extra":{}},{"number":106,"comment":".notEqualTo()","name":"Entries present in the resultset","ok":true,"extra":{}},{"number":107,"comment":".notEqualTo()","name":"entries sorted descending on 'num_field' field","ok":true,"extra":{}},{"number":108,"comment":".containedIn()","name":"Entries present in the resultset","ok":true,"extra":{}},{"number":109,"comment":".containedIn()","name":"entries sorted descending on 'updated_at' field","ok":true,"extra":{}},{"number":110,"comment":".notContainedIn()","name":"No Entry present in the resultset","ok":true,"extra":{}},{"number":111,"comment":".exists()","name":"Entries should not be present in the resultset","ok":true,"extra":{}},{"number":112,"comment":".exists()","name":"entries sorted descending on 'updated_at' field","ok":true,"extra":{}},{"number":113,"comment":".notExists()","name":"Entries key present in the resultset","ok":true,"extra":{}},{"number":114,"comment":".notExists()","name":"entries sorted descending on 'updated_at' field","ok":true,"extra":{}},{"number":115,"comment":".skip()","name":"2 or more Entries present in the resultset","ok":true,"extra":{}},{"number":116,"comment":".skip()","name":"All elements matched.","ok":true,"extra":{}},{"number":117,"comment":".skip()","name":"entries sorted descending on 'updated_at' field","ok":true,"extra":{}},{"number":118,"comment":".limit()","name":"Entries present in the resultset","ok":true,"extra":{}},{"number":119,"comment":".limit()","name":"All elements matched.","ok":true,"extra":{}},{"number":120,"comment":".limit()","name":"entries sorted descending on 'updated_at' field","ok":true,"extra":{}},{"number":121,"comment":".count()","name":"Entries present in the resultset","ok":true,"extra":{}},{"number":122,"comment":".or() - Query Objects","name":"Entries present in the resultset","ok":true,"extra":{}},{"number":123,"comment":".or() - Query Objects","name":"$OR condition satisfied","ok":true,"extra":{}},{"number":124,"comment":".and() - Query Objects","name":"1 Entry present in the resultset","ok":true,"extra":{}},{"number":125,"comment":".and() - Query Objects","name":"$AND condition satisfied","ok":true,"extra":{}},{"number":126,"comment":".and() - Raw queries","name":"1 Entry present in the resultset","ok":true,"extra":{}},{"number":127,"comment":".and() - Raw queries","name":"$AND condition satisfied","ok":true,"extra":{}},{"number":128,"comment":".query() - Raw query","name":"Entries present in the resultset","ok":true,"extra":{}},{"number":129,"comment":".query() - Raw query","name":"$OR condition satisfied","ok":true,"extra":{}},{"number":130,"comment":".tags()","name":"1 or more Entry/Entries present in the resultset","ok":true,"extra":{}},{"number":131,"comment":".tags()","name":"Tags specified are found in result set","ok":true,"extra":{}},{"number":132,"comment":".search()","name":"1 or more Entry present in the resultset","ok":true,"extra":{}},{"number":133,"comment":".regex()","name":"1 or more Entry/Entries present in the resultset","ok":true,"extra":{}},{"number":134,"comment":".regex()","name":"regexp satisfied for all the entries in the resultset","ok":true,"extra":{}},{"number":135,"comment":".includeReference() - String","name":"all the present reference are included","ok":true,"extra":{}},{"number":136,"comment":".includeReference() - Array","name":"all the present reference are included","ok":true,"extra":{}},{"number":137,"comment":".includeCount()","name":"Entries present in the resultset","ok":true,"extra":{}},{"number":138,"comment":".includeCount()","name":"Count present in the resultset","ok":true,"extra":{}},{"number":139,"comment":".includeSchema()","name":"Entries present in the resultset","ok":true,"extra":{}},{"number":140,"comment":".includeSchema()","name":"Schema present in the resultset","ok":true,"extra":{}},{"number":141,"comment":".includeCount() and .includeSchema()","name":"Entries present in the resultset","ok":true,"extra":{}},{"number":142,"comment":".includeCount() and .includeSchema()","name":"Schema present in the resultset","ok":true,"extra":{}},{"number":143,"comment":".includeCount() and .includeSchema()","name":"Count present in the resultset","ok":true,"extra":{}},{"number":144,"comment":".includeContentType()","name":"Entries present in the resultset","ok":true,"extra":{}},{"number":145,"comment":".includeContentType()","name":"ContentType present in the resultset","ok":true,"extra":{}},{"number":146,"comment":".includeContentType()","name":"ContentType title exists","ok":true,"extra":{}},{"number":147,"comment":".includeContentType()","name":"ContentType uid is same as requested","ok":true,"extra":{}},{"number":148,"comment":".includeCount() and .includeContentType()","name":"Entries present in the resultset","ok":true,"extra":{}},{"number":149,"comment":".includeCount() and .includeContentType()","name":"ContentType present in the resultset","ok":true,"extra":{}},{"number":150,"comment":".includeCount() and .includeContentType()","name":"ContentType title exists","ok":true,"extra":{}},{"number":151,"comment":".includeCount() and .includeContentType()","name":"ContentType uid is same as requested","ok":true,"extra":{}},{"number":152,"comment":".includeCount() and .includeContentType()","name":"Count present in the resultset","ok":true,"extra":{}},{"number":153,"comment":".includeSchema() and .includeContentType()","name":"Entries present in the resultset","ok":true,"extra":{}},{"number":154,"comment":".includeSchema() and .includeContentType()","name":"ContentType present in the resultset","ok":true,"extra":{}},{"number":155,"comment":".includeSchema() and .includeContentType()","name":"ContentType title exists","ok":true,"extra":{}},{"number":156,"comment":".includeSchema() and .includeContentType()","name":"ContentType uid is same as requested","ok":true,"extra":{}},{"number":157,"comment":".includeSchema() and .includeContentType()","name":"Entries present in the resultset","ok":true,"extra":{}},{"number":158,"comment":".includeSchema() and .includeContentType()","name":"ContentType present in the resultset","ok":true,"extra":{}},{"number":159,"comment":".includeSchema() and .includeContentType()","name":"ContentType title exists","ok":true,"extra":{}},{"number":160,"comment":".includeSchema() and .includeContentType()","name":"ContentType uid is same as requested","ok":true,"extra":{}},{"number":161,"comment":".includeSchema() and .includeContentType()","name":"Count present in the resultset","ok":true,"extra":{}},{"number":162,"comment":".only() - Single String Parameter","name":"entries with the field title in the resultset","ok":false,"extra":{"operator":"ok","expected":"true","actual":"false"}},{"number":163,"comment":".only() - Multiple String Parameter","name":"entries with the field title in the resultset","ok":false,"extra":{"operator":"ok","expected":"true","actual":"false"}},{"number":164,"comment":".only() - Array Parameter","name":"entries with the field title,url in the resultset","ok":true,"extra":{}},{"number":165,"comment":".except() - Single String Parameter","name":"entries without the field title in the resultset","ok":true,"extra":{}},{"number":166,"comment":".except() - Multiple String Parameter","name":"entries without the field title, url in the resultset","ok":true,"extra":{}},{"number":167,"comment":".except() - Array of String Parameter","name":"entries without the field title, file in the resultset","ok":true,"extra":{}},{"number":168,"comment":".except() - For the reference - String","name":"entries withthe field reference without title field in the resultset","ok":false,"extra":{"operator":"ok","expected":"true","actual":"false"}},{"number":169,"comment":".except() - For the reference - Array","name":"entries with the field reference without title field in the resultset","ok":false,"extra":{"operator":"ok","expected":"true","actual":"false"}},{"number":170,"comment":"findOne: default .toJSON().findOne()","name":"Entry should have publish_details, uid, locale.","ok":true,"extra":{}},{"number":171,"comment":"findOne: .ascending()","name":"Entry should have publish_details, uid, locale.","ok":true,"extra":{}},{"number":172,"comment":"findOne: .descending()","name":"Entry should have publish_details, uid, locale.","ok":true,"extra":{}},{"number":173,"comment":"findOne: .lessThan()","name":"Entry num_field having value less than 11.","ok":true,"extra":{}},{"number":174,"comment":"findOne: .lessThan()","name":"Entry should have publish_details, uid, locale.","ok":true,"extra":{}},{"number":175,"comment":"findOne: .lessThanOrEqualTo()","name":"Entry num_field having value less than or equal to 11.","ok":true,"extra":{}},{"number":176,"comment":"findOne: .lessThanOrEqualTo()","name":"Entry should have publish_details, uid, locale.","ok":true,"extra":{}},{"number":177,"comment":"findOne: .greaterThan()","name":"Entry num_field having value greater than 11.","ok":true,"extra":{}},{"number":178,"comment":"findOne: .greaterThan()","name":"Entry should have publish_details, uid, locale.","ok":true,"extra":{}},{"number":179,"comment":"findOne: .greaterThanOrEqualTo()","name":"findOne: .greaterThanOrEqualTo()","ok":false,"extra":{"operator":"fail"}},{"number":180,"comment":"findOne: .notEqualTo()","name":"Entry num_field having value is not equal to 6.","ok":true,"extra":{}},{"number":181,"comment":"findOne: .notEqualTo()","name":"Entry should have publish_details, uid, locale.","ok":true,"extra":{}},{"number":182,"comment":"findOne: .containedIn()","name":"Entry title exists from the available options source1, source2.","ok":true,"extra":{}},{"number":183,"comment":"findOne: .containedIn()","name":"Entry should have publish_details, uid, locale.","ok":true,"extra":{}},{"number":184,"comment":"findOne: .notContainedIn()","name":"Entry title not exists from the available options source1, source2, source3, source4.","ok":true,"extra":{}},{"number":185,"comment":"findOne: .notContainedIn()","name":"Entry should have publish_details, uid, locale.","ok":true,"extra":{}},{"number":186,"comment":"findOne: .exists()","name":"Entry having the boolean.","ok":true,"extra":{}},{"number":187,"comment":"findOne: .exists()","name":"Entry should have publish_details, uid, locale.","ok":true,"extra":{}},{"number":188,"comment":"findOne: .notExists()","name":"Entry having the isspecial.","ok":true,"extra":{}},{"number":189,"comment":"findOne: .notExists()","name":"Entry should have publish_details, uid, locale.","ok":true,"extra":{}},{"number":190,"comment":"findOne: .skip()","name":"entry key present in the resultset","ok":true,"extra":{}},{"number":191,"comment":"findOne: .skip()","name":"Element matched.","ok":true,"extra":{}},{"number":192,"comment":"findOne: .or() - Query Objects","name":"Entry satisfies the $OR condition","ok":true,"extra":{}},{"number":193,"comment":"findOne: .or() - Query Objects","name":"Entry should have publish_details, uid, locale.","ok":true,"extra":{}},{"number":194,"comment":"findOne: .and() - Query Objects","name":"Entry satisfies the $AND operation.","ok":true,"extra":{}},{"number":195,"comment":"findOne: .and() - Query Objects","name":"Entry should have publish_details, uid, locale.","ok":true,"extra":{}},{"number":196,"comment":"findOne: .query() - Raw query","name":"Entry should have publish_details, uid, locale.","ok":true,"extra":{}},{"number":197,"comment":"findOne: .query() - Raw query","name":"$OR condition satisfied","ok":true,"extra":{}},{"number":198,"comment":"findOne: .search()","name":"Entry should have publish_details, uid, locale.","ok":true,"extra":{}},{"number":199,"comment":"findOne: .regex()","name":"Entry should have publish_details, uid, locale.","ok":true,"extra":{}},{"number":200,"comment":"findOne: .regex()","name":"regexp satisfied","ok":true,"extra":{}},{"number":201,"comment":"findOne: .includeReference() - String","name":"all the present reference are included","ok":true,"extra":{}},{"number":202,"comment":"findOne: .includeReference() - Array","name":"all the present reference and other reference are included","ok":true,"extra":{}},{"number":203,"comment":"findOne: .includeSchema()","name":"Entry present in the resultset","ok":true,"extra":{}},{"number":204,"comment":"findOne: .includeContentType()","name":"entry present in the resultset","ok":true,"extra":{}},{"number":205,"comment":"findOne: .includeContentType()","name":"ContentType is not present.","ok":true,"extra":{}},{"number":206,"comment":"findOne: includeSchema & .includeContentType()","name":"entry present in the resultset","ok":true,"extra":{}},{"number":207,"comment":"findOne: includeSchema & .includeContentType()","name":"ContentType is not present.","ok":true,"extra":{}},{"number":208,"comment":"findOne: .only() - Single String Parameter","name":"entry with the field title in the resultset","ok":false,"extra":{"operator":"ok","expected":"true","actual":"false"}},{"number":209,"comment":"findOne: .only() - Multiple String Parameter","name":"entry with the field title in the resultset","ok":false,"extra":{"operator":"ok","expected":"true","actual":"false"}},{"number":210,"comment":"findOne: .only() - Array Parameter","name":"entry with the field title,url in the resultset","ok":true,"extra":{}},{"number":211,"comment":"findOne: .only() - For the reference - String","name":"Entry has the reference with only paramteres.","ok":true,"extra":{}},{"number":212,"comment":"findOne: .only() - For the reference - Array","name":"Entry has the reference with only paramteres.","ok":true,"extra":{}},{"number":213,"comment":"findOne: .except() - Single String Parameter","name":"entry without the field title in the resultset","ok":true,"extra":{}},{"number":214,"comment":"findOne: .except() - Multiple String Parameter","name":"entry without the field title in the resultset","ok":true,"extra":{}},{"number":215,"comment":"findOne: .except() - Array of String Parameter","name":"entry without the field title, file in the resultset","ok":true,"extra":{}},{"number":216,"comment":"findOne: .except() - For the reference - String","name":"entry with the field reference without title field in the resultset","ok":true,"extra":{}},{"number":217,"comment":"findOne: .except() - For the reference - Array","name":"entry with the field reference without title field in the resultset","ok":true,"extra":{}},{"number":218,"comment":"findOne: default .findOne()","name":"Entry should have uid, publish_details, locale.","ok":true,"extra":{}},{"number":219,"comment":"findOne: .ascending()","name":"Entry should have uid, publish_details, locale.","ok":true,"extra":{}},{"number":220,"comment":"findOne: .descending()","name":"Entry should have uid, publish_details, locale.","ok":true,"extra":{}},{"number":221,"comment":"findOne: .lessThan()","name":"Entry num_field having value less than 11.","ok":true,"extra":{}},{"number":222,"comment":"findOne: .lessThan()","name":"Entry should have uid, publish_details, locale.","ok":true,"extra":{}},{"number":223,"comment":"findOne: .lessThanOrEqualTo()","name":"Entry num_field having value less than or equal to 11.","ok":true,"extra":{}},{"number":224,"comment":"findOne: .lessThanOrEqualTo()","name":"Entry should have uid, publish_details, locale.","ok":true,"extra":{}},{"number":225,"comment":"findOne: .greaterThan()","name":"Entry num_field having value greater than 6.","ok":true,"extra":{}},{"number":226,"comment":"findOne: .greaterThan()","name":"Entry should have uid, publish_details, locale.","ok":true,"extra":{}},{"number":227,"comment":"findOne: .greaterThanOrEqualTo()","name":"Entry num_field having value greater than 11.","ok":true,"extra":{}},{"number":228,"comment":"findOne: .greaterThanOrEqualTo()","name":"Entry should have uid, publish_details, locale.","ok":true,"extra":{}},{"number":229,"comment":"findOne: .notEqualTo()","name":"Entry num_field having value is not equal to 6.","ok":true,"extra":{}},{"number":230,"comment":"findOne: .notEqualTo()","name":"Entry should have uid, publish_details, locale.","ok":true,"extra":{}},{"number":231,"comment":"findOne: .containedIn()","name":"Entry title exists from the available options source1, source2.","ok":true,"extra":{}},{"number":232,"comment":"findOne: .containedIn()","name":"Entry should have uid, publish_details, locale.","ok":true,"extra":{}},{"number":233,"comment":"findOne: .notContainedIn()","name":"Entry title not exists from the available options source1.","ok":true,"extra":{}},{"number":234,"comment":"findOne: .notContainedIn()","name":"Entry should have uid, publish_details, locale.","ok":true,"extra":{}},{"number":235,"comment":"findOne: .exists()","name":"Entry having the boolean.","ok":true,"extra":{}},{"number":236,"comment":"findOne: .exists()","name":"Entry should have uid, publish_details, locale.","ok":true,"extra":{}},{"number":237,"comment":"findOne: .notExists()","name":"Entry having the isspecial.","ok":true,"extra":{}},{"number":238,"comment":"findOne: .notExists()","name":"Entry should have uid, publish_details, locale.","ok":true,"extra":{}},{"number":239,"comment":"findOne: .skip()","name":"entry key present in the resultset","ok":true,"extra":{}},{"number":240,"comment":"findOne: .skip()","name":"Element matched.","ok":true,"extra":{}},{"number":241,"comment":"findOne: .or() - Query Objects","name":"Entry should have uid, publish_details, locale.","ok":true,"extra":{}},{"number":242,"comment":"findOne: .and() - Query Objects","name":"Entry should have uid, publish_details, locale.","ok":true,"extra":{}},{"number":243,"comment":"findOne: .query() - Raw query","name":"Entry should have uid, publish_details, locale.","ok":true,"extra":{}},{"number":244,"comment":"findOne: .query() - Raw query","name":"$OR condition satisfied","ok":true,"extra":{}},{"number":245,"comment":"findOne: .tags()","name":"Entry should have uid, publish_details, locale.","ok":true,"extra":{}},{"number":246,"comment":"findOne: .tags()","name":"Tags specified are found in result set","ok":true,"extra":{}},{"number":247,"comment":"findOne: .search()","name":"Entry should have uid, publish_details, locale.","ok":true,"extra":{}},{"number":248,"comment":"findOne: .regex()","name":"Entry should have uid, publish_details, locale.","ok":true,"extra":{}},{"number":249,"comment":"findOne: .regex()","name":"regexp satisfied","ok":true,"extra":{}},{"number":250,"comment":"findOne: .includeReference() - String","name":"all the present reference are included","ok":true,"extra":{}},{"number":251,"comment":"findOne: .includeReference() - Array","name":"all the present reference and other reference are included","ok":true,"extra":{}},{"number":252,"comment":"findOne: .includeSchema()","name":"entry present in the resultset","ok":true,"extra":{}},{"number":253,"comment":"findOne: .includeContentType()","name":"entry present in the resultset","ok":true,"extra":{}},{"number":254,"comment":"findOne: .includeContentType()","name":"ContentType is not present.","ok":true,"extra":{}},{"number":255,"comment":"findOne: includeSchema & .includeContentType()","name":"entry present in the resultset","ok":true,"extra":{}},{"number":256,"comment":"findOne: includeSchema & .includeContentType()","name":"ContentType is not present.","ok":true,"extra":{}},{"number":257,"comment":"findOne: .only() - Single String Parameter","name":"entry with the field title in the resultset","ok":false,"extra":{"operator":"ok","expected":"true","actual":"false"}},{"number":258,"comment":"findOne: .only() - Multiple String Parameter","name":"entry with the field title in the resultset","ok":false,"extra":{"operator":"ok","expected":"true","actual":"false"}},{"number":259,"comment":"findOne: .only() - Array Parameter","name":"entry with the field title,url in the resultset","ok":true,"extra":{}},{"number":260,"comment":"findOne: .only() - For the reference - String","name":"Entry has the reference with only paramteres.","ok":true,"extra":{}},{"number":261,"comment":"findOne: .only() - For the reference - Array","name":"Entry has the reference with only paramteres.","ok":true,"extra":{}},{"number":262,"comment":"findOne: .except() - Single String Parameter","name":"entry without the field title in the resultset","ok":true,"extra":{}},{"number":263,"comment":"findOne: .except() - Multiple String Parameter","name":"entry without the field title, url in the resultset","ok":true,"extra":{}},{"number":264,"comment":"findOne: .except() - Array of String Parameter","name":"entry without the field title, url in the resultset","ok":true,"extra":{}},{"number":265,"comment":"findOne: .except() - For the reference - String","name":"entry with the field reference without title field in the resultset","ok":true,"extra":{}},{"number":266,"comment":"findOne: .except() - For the reference - Array","name":"entry with the field reference without title field in the resultset","ok":true,"extra":{}},{"number":267,"comment":"entries as first argument","name":"Entries exists as first parameter","ok":true,"extra":{}},{"number":268,"comment":"entries as first argument","name":"default sorting of descending 'updated_at'","ok":true,"extra":{}},{"number":269,"comment":"with entries and count argument","name":"Entries exists as first parameter","ok":true,"extra":{}},{"number":270,"comment":"with entries and count argument","name":"Count exists as second parameter","ok":true,"extra":{}},{"number":271,"comment":"with entries and count argument","name":"default sorting of descending 'updated_at'","ok":true,"extra":{}},{"number":272,"comment":"with entries, schema and count argument","name":"Entries exists as first parameter","ok":true,"extra":{}},{"number":273,"comment":"with entries, schema and count argument","name":"Schema exists as second parameter","ok":true,"extra":{}},{"number":274,"comment":"with entries, schema and count argument","name":"Count exists as third parameter","ok":true,"extra":{}},{"number":275,"comment":"with entries, schema and count argument","name":"default sorting of descending 'updated_at'","ok":true,"extra":{}},{"number":276,"comment":"with entries, schema and count argument","name":"Entries exists as first parameter","ok":true,"extra":{}},{"number":277,"comment":"with entries, schema and count argument","name":"Schema exists as second parameter","ok":true,"extra":{}},{"number":278,"comment":"with entries, schema and count argument","name":"Count exists as third parameter","ok":true,"extra":{}},{"number":279,"comment":"with entries, schema and count argument","name":"default sorting of descending 'updated_at'","ok":true,"extra":{}},{"number":280,"comment":"with entries, content_type and count argument","name":"Entries exists as first parameter","ok":true,"extra":{}},{"number":281,"comment":"with entries, content_type and count argument","name":"ContentType exists as second parameter","ok":true,"extra":{}},{"number":282,"comment":"with entries, content_type and count argument","name":"ContentType exists as second parameter","ok":true,"extra":{}},{"number":283,"comment":"with entries, content_type and count argument","name":"Count exists as third parameter","ok":true,"extra":{}},{"number":284,"comment":"with entries, content_type and count argument","name":"default sorting of descending 'updated_at'","ok":true,"extra":{}},{"number":285,"comment":"with entries, content_type and count argument","name":"Entries exists as first parameter","ok":true,"extra":{}},{"number":286,"comment":"with entries, content_type and count argument","name":"ContentType exists as second parameter","ok":true,"extra":{}},{"number":287,"comment":"with entries, content_type and count argument","name":"ContentType exists as second parameter","ok":true,"extra":{}},{"number":288,"comment":"with entries, content_type and count argument","name":"Count exists as third parameter","ok":true,"extra":{}},{"number":289,"comment":"with entries, content_type and count argument","name":"default sorting of descending 'updated_at'","ok":true,"extra":{}},{"number":290,"comment":"with entries, content_type|schema and count argument","name":"Entries exists as first parameter","ok":true,"extra":{}},{"number":291,"comment":"with entries, content_type|schema and count argument","name":"ContentType exists as second parameter","ok":true,"extra":{}},{"number":292,"comment":"with entries, content_type|schema and count argument","name":"ContentType exists as second parameter","ok":true,"extra":{}},{"number":293,"comment":"with entries, content_type|schema and count argument","name":"Count exists as third parameter","ok":true,"extra":{}},{"number":294,"comment":"with entries, content_type|schema and count argument","name":"default sorting of descending 'updated_at'","ok":true,"extra":{}},{"number":295,"comment":"default .Init()","name":"Present Data and Totalcount is equal","ok":true,"extra":{}},{"number":296,"comment":"default .startdate()","name":"Present data and filtered data count on date bases is equal","ok":false,"extra":{"operator":"equal","expected":"7","actual":"9"}},{"number":297,"comment":"default .locale()","name":"Present data and filtered data count on locale bases is equal","ok":true,"extra":{}},{"number":298,"comment":"default .localeDate()","name":"Present data and filtered data count on date and locale bases is equal","ok":false,"extra":{"operator":"equal","expected":"7","actual":"9"}},{"number":299,"comment":"default .pagination_token()","name":"pagination_token testcase executed successfully","ok":false,"extra":{"operator":"equal","expected":"23","actual":"20"}},{"number":300,"comment":"default .contentTypeUid()","name":"Present data and filtered data total count on contentType bases is equal","ok":true,"extra":{}},{"number":301,"comment":"default .type()","name":"Present data and filtered data total count on type bases is equal","ok":true,"extra":{}},{"number":302,"comment":"default .sync_token()","name":"Synced Data and Sync_total_count is equal","ok":false,"extra":{"operator":"equal","expected":"7","actual":"9"}},{"number":303,"comment":"default .find()","name":"Assets present in the resultset","ok":true,"extra":{}},{"number":304,"comment":"default .find()","name":"Count should not be present","ok":true,"extra":{}},{"number":305,"comment":"default .find()","name":"default sorting of descending 'updated_at'","ok":true,"extra":{}},{"number":306,"comment":".ascending()","name":"assets present in the resultset","ok":true,"extra":{}},{"number":307,"comment":".ascending()","name":"assets sorted ascending on 'updated_at' field","ok":true,"extra":{}},{"number":308,"comment":".descending()","name":"assets present in the resultset","ok":true,"extra":{}},{"number":309,"comment":".descending()","name":"assets sorted descending on 'created_at' field","ok":true,"extra":{}},{"number":310,"comment":".addParam()","name":"dimension present in the resultset","ok":true,"extra":{}},{"number":311,"comment":".lessThan()","name":"1","ok":true,"extra":{}},{"number":312,"comment":".lessThan()","name":"assets sorted descending on 'file_size' field","ok":true,"extra":{}},{"number":313,"comment":".lessThanOrEqualTo()","name":"2","ok":true,"extra":{}},{"number":314,"comment":".lessThanOrEqualTo()","name":"assets sorted descending on 'updated_at' field","ok":true,"extra":{}},{"number":315,"comment":".greaterThan()","name":"3","ok":true,"extra":{}},{"number":316,"comment":".greaterThan()","name":"assets sorted ascending on 'file_size' field","ok":true,"extra":{}},{"number":317,"comment":".greaterThanOrEqualTo()","name":"4","ok":true,"extra":{}},{"number":318,"comment":".greaterThanOrEqualTo()","name":"assets sorted descending on 'file_size' field","ok":true,"extra":{}},{"number":319,"comment":".notEqualTo()","name":"assets present in the resultset","ok":true,"extra":{}},{"number":320,"comment":".notEqualTo()","name":"assets sorted descending on 'file_size' field","ok":true,"extra":{}},{"number":321,"comment":".where()","name":"assets present in the resultset","ok":true,"extra":{}},{"number":322,"comment":".where()","name":"one asset present in the resultset","ok":true,"extra":{}},{"number":323,"comment":".equalTo() compare boolean value (true)","name":"assets present in the resultset","ok":true,"extra":{}},{"number":324,"comment":".equalTo() compare boolean value (true)","name":"five asset present in the resultset","ok":true,"extra":{}},{"number":325,"comment":".equalTo() compare boolean value (false)","name":"assets not present in the resultset","ok":true,"extra":{}},{"number":326,"comment":".equalTo() compare boolean value (false)","name":"three assets present in the resultset","ok":true,"extra":{}},{"number":327,"comment":".containedIn()","name":"assets present in the resultset","ok":true,"extra":{}},{"number":328,"comment":".containedIn()","name":"2","ok":true,"extra":{}},{"number":329,"comment":".containedIn()","name":"assets sorted descending on 'updated_at' field","ok":true,"extra":{}},{"number":330,"comment":".notContainedIn()","name":"Assets present in the resultset","ok":true,"extra":{}},{"number":331,"comment":".notContainedIn()","name":"3","ok":true,"extra":{}},{"number":332,"comment":".exists()","name":"assets present in the resultset","ok":true,"extra":{}},{"number":333,"comment":".exists()","name":"assets sorted descending on 'updated_at' field","ok":true,"extra":{}},{"number":334,"comment":".notExists()","name":"No asset present in the resultset","ok":true,"extra":{}},{"number":335,"comment":".skip()","name":"2 or more assets present in the resultset","ok":true,"extra":{}},{"number":336,"comment":".skip()","name":"All elements matched.","ok":true,"extra":{}},{"number":337,"comment":".skip()","name":"assets sorted descending on 'updated_at' field","ok":true,"extra":{}},{"number":338,"comment":".limit()","name":"assets present in the resultset","ok":true,"extra":{}},{"number":339,"comment":".limit()","name":"All elements matched.","ok":true,"extra":{}},{"number":340,"comment":".limit()","name":"assets sorted descending on 'updated_at' field","ok":true,"extra":{}},{"number":341,"comment":".count()","name":"assets present in the resultset","ok":true,"extra":{}},{"number":342,"comment":".or() - Query Objects","name":"assets present in the resultset","ok":true,"extra":{}},{"number":343,"comment":".or() - Query Objects","name":"1","ok":true,"extra":{}},{"number":344,"comment":".or() - Query Objects","name":"$OR condition satisfied","ok":true,"extra":{}},{"number":345,"comment":".and() - Query Objects","name":"asset not present in the resultset","ok":true,"extra":{}},{"number":346,"comment":".query() - Raw query","name":"assets present in the resultset","ok":true,"extra":{}},{"number":347,"comment":".query() - Raw query","name":"1","ok":true,"extra":{}},{"number":348,"comment":".query() - Raw query","name":"$OR condition satisfied","ok":true,"extra":{}},{"number":349,"comment":".tags()","name":"1 or more asset/assets present in the resultset","ok":true,"extra":{}},{"number":350,"comment":".tags()","name":"Tags specified are found in result set","ok":true,"extra":{}},{"number":351,"comment":".search()","name":"1 asset present in the resultset","ok":true,"extra":{}},{"number":352,"comment":".regex()","name":"1 or more asset/assets present in the resultset","ok":true,"extra":{}},{"number":353,"comment":".regex()","name":"regexp satisfied for all the assets in the resultset","ok":true,"extra":{}},{"number":354,"comment":".includeCount()","name":"assets present in the resultset","ok":true,"extra":{}},{"number":355,"comment":".includeCount()","name":"Count present in the resultset","ok":true,"extra":{}},{"number":356,"comment":".only() - Single String Parameter","name":"assets present in the resultset","ok":true,"extra":{}},{"number":357,"comment":".only() - Single String Parameter","name":"assets with the field title in the resultset","ok":false,"extra":{"operator":"ok","expected":"true","actual":"false"}},{"number":358,"comment":".only() - Multiple String Parameter","name":"assets present in the resultset","ok":true,"extra":{}},{"number":359,"comment":".only() - Multiple String Parameter","name":"assets with the field title in the resultset","ok":false,"extra":{"operator":"ok","expected":"true","actual":"false"}},{"number":360,"comment":".only() - Array Parameter","name":"assets present in the resultset","ok":true,"extra":{}},{"number":361,"comment":".only() - Array Parameter","name":"assets with the field title,filename in the resultset","ok":true,"extra":{}},{"number":362,"comment":"default .find()","name":"assets present in the resultset","ok":true,"extra":{}},{"number":363,"comment":"default .find()","name":"Count should not present in the result","ok":true,"extra":{}},{"number":364,"comment":"default .find()","name":"default sorting of descending 'updated_at'","ok":true,"extra":{}},{"number":365,"comment":".ascending()","name":"assets present in the resultset","ok":true,"extra":{}},{"number":366,"comment":".ascending()","name":"assets sorted ascending on 'updated_at' field","ok":true,"extra":{}},{"number":367,"comment":".descending()","name":"assets present in the resultset","ok":true,"extra":{}},{"number":368,"comment":".descending()","name":"assets sorted descending on 'created_at' field","ok":true,"extra":{}},{"number":369,"comment":".lessThan()","name":"assets present in the resultset","ok":true,"extra":{}},{"number":370,"comment":".lessThan()","name":"one asset present in the resultset","ok":true,"extra":{}},{"number":371,"comment":".lessThan()","name":"assets sorted descending on 'updated_at' field","ok":true,"extra":{}},{"number":372,"comment":".lessThanOrEqualTo()","name":"assets present in the resultset","ok":true,"extra":{}},{"number":373,"comment":".lessThanOrEqualTo()","name":"two assets present in the resultset","ok":true,"extra":{}},{"number":374,"comment":".lessThanOrEqualTo()","name":"assets sorted descending on 'updated_at' field","ok":true,"extra":{}},{"number":375,"comment":".greaterThan()","name":"assets present in the resultset","ok":true,"extra":{}},{"number":376,"comment":".greaterThan()","name":"three assets present in the resultset","ok":true,"extra":{}},{"number":377,"comment":".greaterThan()","name":"assets sorted ascending on 'file_size' field","ok":true,"extra":{}},{"number":378,"comment":".greaterThanOrEqualTo()","name":"assets present in the resultset","ok":true,"extra":{}},{"number":379,"comment":".greaterThanOrEqualTo()","name":"four assets present in the resultset","ok":true,"extra":{}},{"number":380,"comment":".greaterThanOrEqualTo()","name":"assets sorted descending on 'file_size' field","ok":true,"extra":{}},{"number":381,"comment":".notEqualTo()","name":"assets present in the resultset","ok":true,"extra":{}},{"number":382,"comment":".notEqualTo()","name":"four assets present in the resultset","ok":true,"extra":{}},{"number":383,"comment":".notEqualTo()","name":"assets sorted descending on 'file_size' field","ok":true,"extra":{}},{"number":384,"comment":".containedIn()","name":"assets present in the resultset","ok":true,"extra":{}},{"number":385,"comment":".containedIn()","name":"two assets present in the resultset","ok":true,"extra":{}},{"number":386,"comment":".containedIn()","name":"assets sorted descending on 'updated_at' field","ok":true,"extra":{}},{"number":387,"comment":".notContainedIn()","name":"No asset present in the resultset","ok":true,"extra":{}},{"number":388,"comment":".exists()","name":"assets should not be present in the resultset","ok":true,"extra":{}},{"number":389,"comment":".exists()","name":"five assets present in the resultset","ok":true,"extra":{}},{"number":390,"comment":".exists()","name":"assets sorted descending on 'updated_at' field","ok":true,"extra":{}},{"number":391,"comment":".notExists()","name":"No asset present in the resultset","ok":true,"extra":{}},{"number":392,"comment":".skip()","name":"2 or more assets present in the resultset","ok":true,"extra":{}},{"number":393,"comment":".skip()","name":"All elements matched.","ok":true,"extra":{}},{"number":394,"comment":".skip()","name":"assets sorted descending on 'updated_at' field","ok":true,"extra":{}},{"number":395,"comment":".limit()","name":"assets present in the resultset","ok":true,"extra":{}},{"number":396,"comment":".limit()","name":"All elements matched.","ok":true,"extra":{}},{"number":397,"comment":".limit()","name":"assets sorted descending on 'updated_at' field","ok":true,"extra":{}},{"number":398,"comment":".count()","name":"assets count present in the resultset","ok":true,"extra":{}},{"number":399,"comment":".or() - Query Objects","name":"assets present in the resultset","ok":true,"extra":{}},{"number":400,"comment":".or() - Query Objects","name":"$OR condition satisfied","ok":true,"extra":{}},{"number":401,"comment":".and() - Query Objects","name":"asset not present in the resultset","ok":true,"extra":{}},{"number":402,"comment":".and() - Raw queries","name":"asset not present in the resultset","ok":true,"extra":{}},{"number":403,"comment":".query() - Raw query","name":"assets present in the resultset","ok":true,"extra":{}},{"number":404,"comment":".query() - Raw query","name":"one asset present in resultset","ok":true,"extra":{}},{"number":405,"comment":".query() - Raw query","name":"$OR condition satisfied","ok":true,"extra":{}},{"number":406,"comment":".tags()","name":"1 or more asset/assets present in the resultset","ok":true,"extra":{}},{"number":407,"comment":".tags()","name":"Tags specified are found in result set","ok":true,"extra":{}},{"number":408,"comment":".search()","name":"1 or more asset present in the resultset","ok":true,"extra":{}},{"number":409,"comment":".search()","name":"1 asset present in resultset","ok":true,"extra":{}},{"number":410,"comment":".regex()","name":"1 or more asset/assets present in the resultset","ok":true,"extra":{}},{"number":411,"comment":".regex()","name":"5 assets present in resultset","ok":true,"extra":{}},{"number":412,"comment":".regex()","name":"regexp satisfied for all the assets in the resultset","ok":true,"extra":{}},{"number":413,"comment":".includeCount()","name":"assets present in the resultset","ok":true,"extra":{}},{"number":414,"comment":".includeCount()","name":"Count present in the resultset","ok":true,"extra":{}},{"number":415,"comment":".only() - Single String Parameter","name":"assets with the field title in the resultset","ok":false,"extra":{"operator":"ok","expected":"true","actual":"false"}},{"number":416,"comment":".only() - Multiple String Parameter","name":"assets with the field title in the resultset","ok":false,"extra":{"operator":"ok","expected":"true","actual":"false"}},{"number":417,"comment":".only() - Array Parameter","name":"assets with the field title,url in the resultset","ok":true,"extra":{}},{"number":418,"comment":"assets as first argument","name":"assets exists as first parameter","ok":true,"extra":{}},{"number":419,"comment":"assets as first argument","name":"default sorting of descending 'updated_at'","ok":true,"extra":{}},{"number":420,"comment":"with assets and count argument","name":"assets exists as first parameter","ok":true,"extra":{}},{"number":421,"comment":"with assets and count argument","name":"Count exists as second parameter","ok":true,"extra":{}},{"number":422,"comment":"with assets and count argument","name":"default sorting of descending 'updated_at'","ok":true,"extra":{}},{"number":423,"comment":"with assets and count argument","name":"assets exists as first parameter","ok":true,"extra":{}},{"number":424,"comment":"with assets and count argument","name":"Count exists as second parameter","ok":true,"extra":{}},{"number":425,"comment":"with assets and count argument","name":"default sorting of descending 'updated_at'","ok":true,"extra":{}},{"number":426,"comment":"Get All Assets","name":"Assets present in the resultset","ok":true,"extra":{}},{"number":427,"comment":"Valid URL: single parameter testing","name":"Valid URL is generated","ok":true,"extra":{}},{"number":428,"comment":"Valid URL: single parameter testing","name":"Supplied parameter quality found","ok":true,"extra":{}},{"number":429,"comment":"Valid URL: single parameter testing","name":"Valid URL is generated","ok":true,"extra":{}},{"number":430,"comment":"Valid URL: multiple parameter testing","name":"Valid URL is generated","ok":true,"extra":{}},{"number":431,"comment":"Valid URL: multiple parameter testing","name":"Supplied parameter quality found","ok":true,"extra":{}},{"number":432,"comment":"Valid URL: multiple parameter testing","name":"Supplied parameter auto found","ok":true,"extra":{}},{"number":433,"comment":"Valid URL: multiple parameter testing","name":"Supplied parameter format found","ok":true,"extra":{}},{"number":434,"comment":"Valid URL: multiple parameter testing","name":"Valid URL is generated","ok":true,"extra":{}},{"number":435,"comment":"Invalid URL: single parameter testing","name":"Valid URL is generated","ok":true,"extra":{}},{"number":436,"comment":"Invalid URL: single parameter testing","name":"Supplied parameter quality found","ok":true,"extra":{}},{"number":437,"comment":"Invalid URL: single parameter testing","name":"Valid URL is generated","ok":true,"extra":{}},{"number":438,"comment":"Invalid URL: multiple parameter testing","name":"Valid URL is generated","ok":true,"extra":{}},{"number":439,"comment":"Invalid URL: multiple parameter testing","name":"Supplied parameter quality found","ok":true,"extra":{}},{"number":440,"comment":"Invalid URL: multiple parameter testing","name":"Supplied parameter auto found","ok":true,"extra":{}},{"number":441,"comment":"Invalid URL: multiple parameter testing","name":"Supplied parameter format found","ok":true,"extra":{}},{"number":442,"comment":"Invalid URL: multiple parameter testing","name":"Valid URL is generated","ok":true,"extra":{}}]}