Skip to content

Commit c8a23a9

Browse files
committed
Fixed some faulty tests
1 parent a4aeb9e commit c8a23a9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

test/integration/authentication-oidc-test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ describe('Authentication API (OIDC)', () => {
217217
})
218218
describe('and our origin', () => {
219219
before(done => {
220-
alice.get('/')
220+
alice.get('/private-for-alice.txt')
221221
.set('Cookie', cookie)
222222
.set('Origin', aliceServerUri)
223223
.end((err, res) => {
@@ -276,7 +276,7 @@ describe('Authentication API (OIDC)', () => {
276276
})
277277
describe('and our origin', () => {
278278
before(done => {
279-
alice.get('/')
279+
alice.get('/private-for-alice.txt')
280280
.set('Cookie', malcookie)
281281
.set('Origin', aliceServerUri)
282282
.end((err, res) => {

test/integration/authentication-oidc-with-strict-origins-turned-off-test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ describe('Authentication API (OIDC) - With strict origins turned off', () => {
213213
})
214214
describe('and our origin', () => {
215215
before(done => {
216-
alice.get('/')
216+
alice.get('/private-for-alice.txt')
217217
.set('Cookie', cookie)
218218
.set('Origin', aliceServerUri)
219219
.end((err, res) => {
@@ -272,7 +272,7 @@ describe('Authentication API (OIDC) - With strict origins turned off', () => {
272272
})
273273
describe('and our origin', () => {
274274
before(done => {
275-
alice.get('/')
275+
alice.get('/private-for-alice.txt')
276276
.set('Cookie', malcookie)
277277
.set('Origin', aliceServerUri)
278278
.end((err, res) => {

0 commit comments

Comments
 (0)