Skip to content

Commit 5bec08e

Browse files
kjetilkrubensworks
authored andcommitted
Skip tests for deep acl:accessTo. Resolves #963
1 parent 9bb47e2 commit 5bec08e

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

test/integration/acl-oidc-test.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -424,15 +424,16 @@ describe('ACL with WebID+OIDC over HTTP', function () {
424424
done()
425425
})
426426
})
427-
it('user1 should be able to access deep test directory ACL', function (done) {
427+
// Deep acl:accessTo inheritance is not supported yet #963
428+
it.skip('user1 should be able to access deep test directory ACL', function (done) {
428429
var options = createOptions('/read-acl/deeper-tree/.acl', 'user1')
429430
request.head(options, function (error, response, body) {
430431
assert.equal(error, null)
431432
assert.equal(response.statusCode, 200)
432433
done()
433434
})
434435
})
435-
it('user1 should not be able to access deep test dir', function (done) {
436+
it.skip('user1 should not be able to access deep test dir', function (done) {
436437
var options = createOptions('/read-acl/deeper-tree/', 'user1')
437438
request.head(options, function (error, response, body) {
438439
assert.equal(error, null)
@@ -441,15 +442,15 @@ describe('ACL with WebID+OIDC over HTTP', function () {
441442
done()
442443
})
443444
})
444-
it('user1 should able to access even deeper test directory', function (done) {
445+
it.skip('user1 should able to access even deeper test directory', function (done) {
445446
var options = createOptions('/read-acl/deeper-tree/acls-only-on-top/', 'user1')
446447
request.head(options, function (error, response, body) {
447448
assert.equal(error, null)
448449
assert.equal(response.statusCode, 200)
449450
done()
450451
})
451452
})
452-
it('user1 should able to access even deeper test file', function (done) {
453+
it.skip('user1 should able to access even deeper test file', function (done) {
453454
var options = createOptions('/read-acl/deeper-tree/acls-only-on-top/example.ttl', 'user1')
454455
request.head(options, function (error, response, body) {
455456
assert.equal(error, null)

test/integration/auth-proxy-test.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ describe('Auth Proxy', () => {
3636
rm('index.html.acl')
3737
})
3838

39-
describe('responding to /server/a', () => {
39+
// Skipped tests due to not supported deep acl:accessTo #963
40+
describe.skip('responding to /server/a', () => {
4041
let response
4142
before(() =>
4243
request(server).get('/server/a/')
@@ -49,7 +50,7 @@ describe('Auth Proxy', () => {
4950
})
5051

5152
describe('responding to GET', () => {
52-
describe('for a path with read permissions', () => {
53+
describe.skip('for a path with read permissions', () => {
5354
let response
5455
before(() =>
5556
request(server).get('/server/a/r')
@@ -74,7 +75,7 @@ describe('Auth Proxy', () => {
7475
})
7576

7677
describe('responding to OPTIONS', () => {
77-
describe('for a path with read permissions', () => {
78+
describe.skip('for a path with read permissions', () => {
7879
let response
7980
before(() =>
8081
request(server).options('/server/a/r')
@@ -99,7 +100,7 @@ describe('Auth Proxy', () => {
99100
})
100101

101102
describe('responding to POST', () => {
102-
describe('for a path with read and write permissions', () => {
103+
describe.skip('for a path with read and write permissions', () => {
103104
let response
104105
before(() =>
105106
request(server).post('/server/a/rw')

0 commit comments

Comments
 (0)