fix tests

This commit is contained in:
barisusakli
2016-12-20 14:05:15 +03:00
parent f8d958e065
commit caacae093d
2 changed files with 9 additions and 1 deletions

View File

@@ -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);
});