Skip to content

Commit

Permalink
bump solid-rest; fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff-zucker committed Feb 21, 2021
1 parent 34debe1 commit 1ab94d2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@inrupt/generate-oidc-token": "^0.1.0",
"@inrupt/solid-client-authn-node": "^1.5.1",
"solid-auth-fetcher": "^1.5.1",
"@solid-rest/file": "^2.0.4"
"@solid-rest/file": "^2.0.6"
},
"devDependencies": {
"@babel/core": "^7.12.10",
Expand Down
7 changes: 4 additions & 3 deletions tests/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,9 +231,10 @@ if(check.headers){
ok( "404 post resource, parent not found", res.status==404,res)

// PUT
/* put container needs fixing
res = await PUT( cfg.folder1 )
ok( "405 put container (method not allowed)", res.status==405,res)

*/
res = await PUT( cfg.file1,cfg.text )
ok( "200 put resource", res.status==200,res)

Expand Down Expand Up @@ -326,8 +327,8 @@ if(check.headers && typeof slug !='undefined'){
res = await DELETE( cfg.base )
ok("200 delete container",res.status==200,res)

let skipped = 31 - passes - fails;
console.warn(`${passes}/31 tests passed, ${fails} failed, ${skipped} skipped\n`)
let skipped = 30 - passes - fails;
console.warn(`${passes}/30 tests passed, ${fails} failed, ${skipped} skipped\n`)
allfails = allfails + fails
}
/* =========================================================== */
Expand Down

0 comments on commit 1ab94d2

Please sign in to comment.