Skip to content

Commit e1b8bde

Browse files
committed
1.6.1 doesnt have thse
1 parent ad39f9a commit e1b8bde

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/routes/deprecated-spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,10 @@ describe('/ deprecated', () => {
9999
},
100100
info: {
101101
authentication_db: couchDBInfo.version = '1.6.1' ? '_users' : undefined,
102-
authentication_handlers: couchDBInfo.version = '1.6.1' ? ['oauth', 'cookie', 'default'] : ['cookie', 'default'],
102+
authentication_handlers: ['cookie', 'default'],
103103
authenticated: 'default',
104104
},
105-
}, `should have roles ${JSON.stringify(res.body)}`);
105+
}, `should have roles ${JSON.stringify(couchDBInfo)}`);
106106
expect(res.status).to.equal(200, JSON.stringify(res.body));
107107

108108
return supertest(`http://${testUsername}:test@localhost:5984`)

0 commit comments

Comments
 (0)