mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-11 01:52:55 +01:00
@@ -828,7 +828,7 @@ describe('Pruning', () => {
|
||||
assert.strictEqual(result.counts.missing, 0);
|
||||
|
||||
meta.config.activitypubUserPruneDays = 0;
|
||||
user.deleteAccount(uid);
|
||||
await user.deleteAccount(uid);
|
||||
});
|
||||
|
||||
it('should purge the user if they have no content (posts, likes, etc.)', async () => {
|
||||
|
||||
@@ -14,7 +14,9 @@ const util = require('util');
|
||||
|
||||
process.env.NODE_ENV = process.env.TEST_ENV || 'production';
|
||||
global.env = process.env.NODE_ENV || 'production';
|
||||
|
||||
if (!process.env.hasOwnProperty('CI')) {
|
||||
process.env.CI = 'true';
|
||||
}
|
||||
const winston = require('winston');
|
||||
const packageInfo = require('../../package.json');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user