Skip to content

Node.js based forum software built for the modern web

fix: test breakages from 8d995d1eb609837e4e6e4c77cd855766830378fa

Julian Lama66fe0137739
diff --git a/test/flags.js b/test/flags.js
index f505b4132b..f34df831e9 100644
--- a/test/flags.js
+++ b/test/flags.js
@@ -601,7 +601,8 @@ describe('Flags', function () {
throw err;
}
- assert.strictEqual(entries + 1, history.length);
+ // 1 for the new event appended, 2 for username and email change
+ assert.strictEqual(entries + 3, history.length);
done();
});
});