Skip to content

Commit 7dd8465

Browse files
committed
Fix OIDC tests regarding root .acl files
1 parent 4187bf0 commit 7dd8465

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/integration/authentication-oidc-test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ describe('Authentication API (OIDC)', () => {
147147
describe('without that cookie', () => {
148148
let response
149149
before(done => {
150-
alice.get('/')
150+
alice.get('/private-for-alice.txt')
151151
.end((err, res) => {
152152
response = res
153153
done(err)
@@ -197,7 +197,7 @@ describe('Authentication API (OIDC)', () => {
197197
let response
198198
before(done => {
199199
var malcookie = cookie.replace(/connect\.sid=(\S+)/, 'connect.sid=l33th4x0rzp0wn4g3;')
200-
alice.get('/')
200+
alice.get('/private-for-alice.txt')
201201
.set('Cookie', malcookie)
202202
.end((err, res) => {
203203
response = res
@@ -267,7 +267,7 @@ describe('Authentication API (OIDC)', () => {
267267
describe('without that cookie but with globally configured origin', () => {
268268
let response
269269
before(done => {
270-
alice.get('/')
270+
alice.get('/private-for-alice.txt')
271271
.set('Origin', 'https://apps.solid.invalid')
272272
.end((err, res) => {
273273
response = res
@@ -285,7 +285,7 @@ describe('Authentication API (OIDC)', () => {
285285
let response
286286
before(done => {
287287
var malcookie = cookie.replace(/connect\.sid=(\S+)/, 'connect.sid=l33th4x0rzp0wn4g3;')
288-
alice.get('/')
288+
alice.get('/private-for-alice.txt')
289289
.set('Cookie', malcookie)
290290
.set('Origin', 'https://apps.solid.invalid')
291291
.end((err, res) => {

0 commit comments

Comments
 (0)