Merge pull request #1755 from nodeSolidServer/csarven-fix/translation… · solid-server/node-solid-server@7c8ccc6 · GitHub
Skip to content

Commit 7c8ccc6

Browse files
authored
Merge pull request nodeSolidServer#1755 from nodeSolidServer/csarven-fix/translation-error-not-acceptable
Csarven fix/translation error not acceptable
2 parents 032df34 + 69ef87c commit 7c8ccc6

3 files changed

Lines changed: 20 additions & 6 deletions

File tree

lib/handlers/get.js

Lines changed: 3 additions & 4 deletions

test/integration/acl-oidc-test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -775,12 +775,12 @@ describe('ACL with WebID+OIDC over HTTP', function () {
775775
done()
776776
})
777777
})
778-
it('We should have a 500 with invalid group listings', function (done) {
778+
it('We should have a 406 with invalid group listings', function (done) {
779779
const options = createOptions('/group/test-folder/some-other-file.txt', 'user2')
780780

781781
request.get(options, function (error, response, body) {
782782
assert.equal(error, null)
783-
assert.equal(response.statusCode, 500)
783+
assert.equal(response.statusCode, 406)
784784
done()
785785
})
786786
})

test/integration/formats-test.js

Lines changed: 15 additions & 0 deletions

0 commit comments

Comments
 (0)