Skip to content

Commit c9499e7

Browse files
kjetilkrubensworks
authored andcommitted
Fix wording in tests
1 parent db18606 commit c9499e7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/integration/acl-oidc-test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ describe('ACL with WebID+OIDC over HTTP', function () {
174174
done()
175175
})
176176
})
177-
it('should allow creation of new files', function (done) {
177+
it('should fail creation of new files', function (done) {
178178
var options = createOptions('/write-acl/empty-acl/test-file', 'user1')
179179
options.body = ''
180180
request.put(options, function (error, response, body) {
@@ -183,7 +183,7 @@ describe('ACL with WebID+OIDC over HTTP', function () {
183183
done()
184184
})
185185
})
186-
it('should allow creation of new files in deeper paths', function (done) {
186+
it('should fail creation of new files in deeper paths', function (done) {
187187
var options = createOptions('/write-acl/empty-acl/test-folder/test-file', 'user1')
188188
options.body = ''
189189
request.put(options, function (error, response, body) {
@@ -192,7 +192,7 @@ describe('ACL with WebID+OIDC over HTTP', function () {
192192
done()
193193
})
194194
})
195-
it('Should create empty acl file', function (done) {
195+
it('Should not create empty acl file', function (done) {
196196
var options = createOptions('/write-acl/empty-acl/another-empty-folder/test-file.acl', 'user1')
197197
options.body = ''
198198
request.put(options, function (error, response, body) {

0 commit comments

Comments
 (0)