Skip to content

Commit

Permalink
Fix ODD tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfgangmm committed Aug 22, 2023
1 parent 7ecd6f0 commit 71830de
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/odd.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ describe('/api/odd [authenticated]', function () {
"name": "teipublisher",
"canWrite": true,
"label": "TEI Publisher Base",
"description": null
"description": "Base ODD from which all other ODDs inherit"
}]
expect(res.status).to.equal(200);
expect(res.data).to.be.an('array').that.has.members;
Expand Down Expand Up @@ -150,11 +150,11 @@ describe('/api/odd [authenticated]', function () {
}
});
expect(res.status).to.equal(200);
expect(res.data).to.be.a('string').that.includes('/db/apps/tei-publisher/transform/dta-web.xql: OK');
expect(res.data).to.include('/db/apps/tei-publisher/transform/dta-print.xql: OK');
expect(res.data).to.include('/db/apps/tei-publisher/transform/dta-latex.xql: OK');
expect(res.data).to.include('/db/apps/tei-publisher/transform/dta-epub.xql: OK');
expect(res.data).to.not.include('/db/apps/tei-publisher/transform/teipublisher-web.xql: OK');
expect(res.data).to.be.a('string').that.includes('dta-web.xql: OK');
expect(res.data).to.include('dta-print.xql: OK');
expect(res.data).to.include('dta-latex.xql: OK');
expect(res.data).to.include('dta-epub.xql: OK');
expect(res.data).to.not.include('teipublisher-web.xql: OK');
expect(res.data).to.not.include('Error for output mode');
expect(res).to.satisfyApiSpec;
});
Expand Down

0 comments on commit 71830de

Please sign in to comment.