@@ -143,7 +143,7 @@ describe('ACL with WebID+OIDC over HTTP', function () {
143
143
options . body = ''
144
144
request . put ( options , function ( error , response , body ) {
145
145
assert . equal ( error , null )
146
- assert . equal ( response . statusCode , 201 )
146
+ assert . equal ( response . statusCode , 204 )
147
147
done ( )
148
148
} )
149
149
} )
@@ -214,7 +214,7 @@ describe('ACL with WebID+OIDC over HTTP', function () {
214
214
options . body = ''
215
215
request . put ( options , function ( error , response , body ) {
216
216
assert . equal ( error , null )
217
- assert . equal ( response . statusCode , 201 ) // 403) is this a must ?
217
+ assert . equal ( response . statusCode , 204 ) // 403) is this a must ?
218
218
done ( )
219
219
} )
220
220
} )
@@ -240,7 +240,7 @@ describe('ACL with WebID+OIDC over HTTP', function () {
240
240
options . body = '<a> <b> <c> .'
241
241
request . put ( options , function ( error , response , body ) {
242
242
assert . equal ( error , null )
243
- assert . equal ( response . statusCode , 201 )
243
+ assert . equal ( response . statusCode , 204 )
244
244
done ( )
245
245
} )
246
246
} )
@@ -283,7 +283,7 @@ describe('ACL with WebID+OIDC over HTTP', function () {
283
283
'\n <http://www.w3.org/ns/auth/acl#mode> <http://www.w3.org/ns/auth/acl#Read>.'
284
284
request . put ( options , function ( error , response , body ) {
285
285
assert . equal ( error , null )
286
- assert . equal ( response . statusCode , 201 )
286
+ assert . equal ( response . statusCode , 204 )
287
287
done ( )
288
288
} )
289
289
} )
@@ -456,7 +456,7 @@ describe('ACL with WebID+OIDC over HTTP', function () {
456
456
options . body = body
457
457
request . put ( options , function ( error , response , body ) {
458
458
assert . equal ( error , null )
459
- assert . equal ( response . statusCode , 201 )
459
+ assert . equal ( response . statusCode , 204 )
460
460
done ( )
461
461
} )
462
462
} )
@@ -606,7 +606,7 @@ describe('ACL with WebID+OIDC over HTTP', function () {
606
606
options . body = '<a> <b> <c> .\n'
607
607
request . put ( options , function ( error , response , body ) {
608
608
assert . equal ( error , null )
609
- assert . equal ( response . statusCode , 201 )
609
+ assert . equal ( response . statusCode , 204 )
610
610
done ( )
611
611
} )
612
612
} )
@@ -809,7 +809,7 @@ describe('ACL with WebID+OIDC over HTTP', function () {
809
809
options . body = body
810
810
request . put ( options , function ( error , response , body ) {
811
811
assert . equal ( error , null )
812
- assert . equal ( response . statusCode , 201 )
812
+ assert . equal ( response . statusCode , 204 )
813
813
done ( )
814
814
} )
815
815
} )
@@ -834,7 +834,7 @@ describe('ACL with WebID+OIDC over HTTP', function () {
834
834
options . body = '<a> <b> <c> .\n'
835
835
request . put ( options , function ( error , response , body ) {
836
836
assert . equal ( error , null )
837
- assert . equal ( response . statusCode , 201 )
837
+ assert . equal ( response . statusCode , 204 )
838
838
done ( )
839
839
} )
840
840
} )
@@ -860,7 +860,7 @@ describe('ACL with WebID+OIDC over HTTP', function () {
860
860
options . body = '<d> <e> <f> .\n'
861
861
request . put ( options , function ( error , response , body ) {
862
862
assert . equal ( error , null )
863
- assert . equal ( response . statusCode , 201 )
863
+ assert . equal ( response . statusCode , 204 )
864
864
done ( )
865
865
} )
866
866
} )
0 commit comments