Skip to content

Commit

Permalink
Fixed the 'starter' method of the OPTIONS method tests to be more rob…
Browse files Browse the repository at this point in the history
…ust if some more tests are added in the future
  • Loading branch information
AdrienCastex committed Jun 28, 2017
1 parent 59e4201 commit 6fe546a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/v2/tests.ts/options/.createFiles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export function starter(server : v2.WebDAVServer, info : TestInfo, isValid : Tes
if(e) return isValid(false, 'Cannot call "addSubTree(...)".', e);

info.req({
url: 'http://localhost:' + info.port + '/' + name,
url: 'http://localhost:' + server.options.port + '/' + name,
method: 'OPTIONS'
}, v2.HTTPCodes.OK, (req) => {
if(!req.headers.allow)
Expand Down

0 comments on commit 6fe546a

Please sign in to comment.