mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-06 23:52:58 +01:00
fix tests
This commit is contained in:
@@ -437,6 +437,14 @@ describe('Admin Controllers', function () {
|
||||
});
|
||||
|
||||
|
||||
it('should load /posts/flags', function (done) {
|
||||
request(nconf.get('url') + '/api/posts/flags', {jar: jar, json: true}, function (err, res, body) {
|
||||
assert.ifError(err);
|
||||
assert(body);
|
||||
done();
|
||||
});
|
||||
})
|
||||
|
||||
after(function (done) {
|
||||
db.emptydb(done);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user