From a8fafbf87b88e158d179df37b947d83cb99fabca Mon Sep 17 00:00:00 2001 From: coderaiser Date: Wed, 2 Aug 2017 13:16:30 +0300 Subject: [PATCH] test(cloudfunc) coverage --- common/cloudfunc.js | 2 +- test/common/cloudfunc.html | 2 +- test/common/cloudfunc.js | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/common/cloudfunc.js b/common/cloudfunc.js index b075ea9d..ed58d16a 100644 --- a/common/cloudfunc.js +++ b/common/cloudfunc.js @@ -153,7 +153,7 @@ module.exports.buildFromJSON = (params) => { fileTable += header + ' \ No newline at end of file diff --git a/test/common/cloudfunc.js b/test/common/cloudfunc.js index c3467eda..f3ad9102 100644 --- a/test/common/cloudfunc.js +++ b/test/common/cloudfunc.js @@ -6,7 +6,7 @@ const TMPLDIR = DIR + 'tmpl/'; const Util = require(COMMONDIR + 'util'); const CloudFuncPath = COMMONDIR + 'cloudfunc'; - + const CloudFunc = require(CloudFuncPath); const files = require('files-io'); @@ -40,7 +40,7 @@ const JSON_FILES = { }, { name: 'prefdm', size: '1.30kb', - date: '21.02.2016', + date: 0, uid : 0, mode: 'rwx r-x r-x' }]