Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile-couchdb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM couchdb:3.1.2
FROM couchdb:3.5.1

WORKDIR /

Expand Down
10 changes: 6 additions & 4 deletions test/integration/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ describe('install', () => {
})
.then((res) => {
debug('res.body prototype couchapp', res.body);
expect(res.body.couchapp.name).to.equal(' Prototype (has the most features of the apps)', JSON.stringify(res.body));
expect(res.body.couchapp.name).to.contain(' Prototype (has the most features of the apps)', JSON.stringify(res.body));
});
});
});
Expand Down Expand Up @@ -378,15 +378,17 @@ describe('install', () => {
})
.then((res) => {
debug('res.body new_lexicon', res.body);
expect(res.body.ok).to.equal(true);
expect(res.body.ok).to.equal(true, JSON.stringify(res.body));

return supertest(destination)
.get('/_all_dbs')
.get(`/${dbnameToReplicate}/_design/lexicon/_view/lexiconNodes?group=true`)
.set('Accept', 'application/json');
})
.then((res) => {
debug('res.body new_lexicon after ', res.body);
expect(res.body).includes(dbnameToReplicate);
expect(res.body).to.deep.equal({
rows: [],
}, JSON.stringify(res.body));
});
});
});
Expand Down
10 changes: 5 additions & 5 deletions test/routes/deprecated-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -552,9 +552,9 @@ describe('/ deprecated', () => {

describe('/addroletouser', () => {
before(function () {
debug('/forgotpassword', process.env.REPLAY);
debug('/addroletouser', process.env.REPLAY);

this.timeout(19000);
this.timeout(149000);

return supertest(authWebService)
.post('/register')
Expand Down Expand Up @@ -1311,9 +1311,9 @@ describe('/ deprecated', () => {

describe('/newcorpus', () => {
before(function () {
debug('/forgotpassword', process.env.REPLAY);
debug('/newcorpus', process.env.REPLAY);

this.timeout(40000);
this.timeout(140000);

return supertest(authWebService)
.post('/register')
Expand Down Expand Up @@ -1508,7 +1508,7 @@ describe('/ deprecated', () => {
describe('syncDetails', () => {
const uniqueDBname = process.env.REPLAY ? Date.now() : '1637871012346';
before(function () {
debug('/forgotpassword', process.env.REPLAY);
debug('/syncDetails', process.env.REPLAY);

this.timeout(40000);
return supertest(authWebService)
Expand Down