Skip to content

Commit b709be5

Browse files
kjetilkrubensworks
authored andcommitted
Revert "Add test for origin and user"
That test was already there This reverts commit 090c757.
1 parent ef2a790 commit b709be5

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

test/integration/acl-oidc-test.js

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -339,19 +339,6 @@ describe('ACL with WebID+OIDC over HTTP', function () {
339339
})
340340
})
341341

342-
it('agent should not be able to access test directory when origin is invalid even with user',
343-
function (done) {
344-
var options = createOptions('/origin/test-folder/', 'user1')
345-
options.headers.origin = origin2
346-
347-
request.head(options, function (error, response, body) {
348-
assert.equal(error, null)
349-
assert.equal(response.statusCode, 403)
350-
assert.equal(response.statusMessage, 'Origin Unauthorized')
351-
done()
352-
})
353-
})
354-
355342
after(function () {
356343
rm('/accounts-acl/tim.localhost/origin/test-folder/.acl')
357344
})

0 commit comments

Comments
 (0)