(path, user)
| 97 | }) |
| 98 | |
| 99 | function createOptions (path, user) { |
| 100 | const options = { |
| 101 | url: address + path, |
| 102 | headers: { |
| 103 | accept: 'text/turtle', |
| 104 | 'content-type': 'text/plain' |
| 105 | } |
| 106 | } |
| 107 | if (user) { |
| 108 | options.agentOptions = userCredentials[user] |
| 109 | } |
| 110 | return options |
| 111 | } |
| 112 | |
| 113 | describe('no ACL', function () { |
| 114 | it('should return 500 for any resource', function (done) { |