Skip to content

Commit

Permalink
Fixed a broken test with the 'DAV:lockdiscovery'
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrienCastex committed Jun 19, 2017
1 parent 55c71b3 commit 9d5b3c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/tests/lockdiscovery.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 9d5b3c9

Please sign in to comment.