mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-20 09:42:08 +02:00
osd route test
This commit is contained in:
@@ -1061,6 +1061,15 @@ describe('Controllers', function () {
|
||||
});
|
||||
});
|
||||
|
||||
it('should return osd data', function (done) {
|
||||
request(nconf.get('url') + '/osd.xml', function (err, res, body) {
|
||||
assert.ifError(err);
|
||||
assert(body);
|
||||
done();
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
after(function (done) {
|
||||
var analytics = require('../src/analytics');
|
||||
analytics.writeData(function (err) {
|
||||
|
||||
Reference in New Issue
Block a user