From 9d5b3c9393ad1a0ce094b927ec1fd73db1e165da Mon Sep 17 00:00:00 2001 From: Adrien Castex Date: Mon, 19 Jun 2017 15:03:46 +0200 Subject: [PATCH] Fixed a broken test with the 'DAV:lockdiscovery' --- test/tests/lockdiscovery.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/tests/lockdiscovery.js b/test/tests/lockdiscovery.js index 7298a55d..bc9ba8a0 100644 --- a/test/tests/lockdiscovery.js +++ b/test/tests/lockdiscovery.js @@ -61,7 +61,7 @@ module.exports = (test, options, index) => test('lockdiscovery', (isValid, serve if(activelock['D:locktype'][0]['D:write'][0] && activelock['D:lockscope'][0]['D:exclusive'][0] && activelock['D:depth'][0]._text[0].toLowerCase() === 'infinity' - && activelock['D:owner'][0]['DAV:href'][0]._text[0] === url + '/user' + && activelock['D:owner'][0]['a:href'][0]._text[0] === url + '/user' && activelock['D:locktoken'][0]['D:href'][0] && activelock['D:timeout'][0]._text[0].toLowerCase().indexOf('second-') === 0 && activelock['D:lockroot'][0]['D:href'][0]._text[0] === url + '/testFolder')