tests: fix for fix of fuzz tests

Commenting out fuzz tests for now

Fixed up paths with request..  Pesky globals..
This commit is contained in:
John McLear 2020-06-01 19:26:49 +01:00 committed by GitHub
parent 71bffed190
commit 0dd9db4e99
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 14 deletions

View file

@ -158,8 +158,8 @@ describe('Imports and Exports', function(){
});
});
if(!settings.abiword && !settings.soffice){
console.warn("Did not test abiword or soffice");
if(settings.abiword.indexOf("/" === -1) && settings.soffice.indexOf("/" === -1)){
console.log("Did not test abiword or soffice");
}else{
it('Tries to import file type that uses soffice or abioffice', function(done) {
@ -188,7 +188,7 @@ describe('Imports and Exports', function(){
let form = req.form();
form.append('file', wordDoc, {
filename: '/test.doc',
filename: '/tmp/test.doc',
contentType: 'application/msword'
});