Skip to content

Commit 629b041

Browse files
kjetilkrubensworks
authored andcommitted
When the file gets an empty ACL file, it will deny to its own
1 parent 0ae0505 commit 629b041

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/integration/acl-oidc-test.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -228,12 +228,11 @@ describe('ACL with WebID+OIDC over HTTP', function () {
228228
done()
229229
})
230230
})
231-
it("should access test file's acl file", function (done) {
231+
it("should not access test file's new empty acl file", function (done) {
232232
var options = createOptions('/write-acl/test-file.acl', 'user1')
233233
request.get(options, function (error, response, body) {
234234
assert.equal(error, null)
235-
assert.equal(response.statusCode, 200)
236-
assert.match(response.headers['content-type'], /text\/turtle/)
235+
assert.equal(response.statusCode, 403)
237236
done()
238237
})
239238
})

0 commit comments

Comments
 (0)