1
0
mirror of /repos/Prototyper.git synced 2025-12-30 06:31:32 +01:00

correct test

This commit is contained in:
Aiko Mastboom 2020-03-12 09:38:11 +01:00
parent 488320257a
commit 2788680e77

View File

@ -84,7 +84,7 @@ describe('mongoData', function () {
function testArguments(options) {
return function (done) {
mongoDataInstance.getMongoContent(options, function (err, result, coll) {
mongoDataInstance.getContent(options, function (err, result, coll) {
if (options.collection === 'ok') {
expect(result).to.equal('ok');
expect(err).to.not.be.ok;
@ -198,7 +198,7 @@ describe('mongoData', function () {
function testArguments(options) {
return function (done) {
mongoDataInstance.getMongoAttribute(options, function (err, result, coll) {
mongoDataInstance.getAttribute(options, function (err, result, coll) {
if (options.collection === 'ok') {
//console.log('result',result,'err',err,'coll',coll);
expect(result).to.equal(ok);