test: add digest route test

isekai-main
Barış Soner Uşaklı 3 years ago
parent 2473d5d873
commit 1280d9ae85

@ -126,6 +126,15 @@ describe('Admin Controllers', () => {
});
});
it('should load manage digests', (done) => {
request(`${nconf.get('url')}/admin/manage/digest`, { jar: jar }, (err, res, body) => {
assert.ifError(err);
assert.equal(res.statusCode, 200);
assert(body);
done();
});
});
it('should load manage uploads', (done) => {
request(`${nconf.get('url')}/admin/manage/uploads`, { jar: jar }, (err, res, body) => {
assert.ifError(err);

Loading…
Cancel
Save