From 2788680e7775957c429a4a6cd7a786b17b56b072 Mon Sep 17 00:00:00 2001 From: Aiko Mastbbom Date: Thu, 12 Mar 2020 09:38:11 +0100 Subject: [PATCH] correct test --- test/test.mongoData.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test.mongoData.js b/test/test.mongoData.js index ef6bfe0..c09a90d 100644 --- a/test/test.mongoData.js +++ b/test/test.mongoData.js @@ -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);