Skip to content

Commit 10f6b63

Browse files
kjetilkrubensworks
authored andcommitted
Return 500 with no acl even in root
1 parent 652206f commit 10f6b63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/integration/acl-oidc-test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,11 @@ describe('ACL with WebID+OIDC over HTTP', function () {
109109
}
110110

111111
describe('no ACL', function () {
112-
it('should return 403 for any resource', function (done) {
112+
it('Should return 500 since no ACL is a server misconfig', function (done) {
113113
var options = createOptions('/no-acl/', 'user1')
114114
request(options, function (error, response, body) {
115115
assert.equal(error, null)
116-
assert.equal(response.statusCode, 403)
116+
assert.equal(response.statusCode, 500)
117117
done()
118118
})
119119
})

0 commit comments

Comments
 (0)