Skip to content

Node.js based forum software built for the modern web

two more text fixes

Barış Soner Uşaklıed289ebeab91
diff --git a/test/user.js b/test/user.js
index f96205a5e4..c88edef39d 100644
--- a/test/user.js
+++ b/test/user.js
@@ -1434,6 +1434,7 @@ describe('User', function () {
password: '123456',
'password-confirm': '123456',
email: '<script>alert("ok")<script>[email protected]',
+ gdpr_consent: true,
}, function (err) {
assert.ifError(err);
helpers.loginUser('admin', '123456', function (err, jar) {
@@ -1465,6 +1466,7 @@ describe('User', function () {
password: '123456',
'password-confirm': '123456',
+ gdpr_consent: true,
}, function (err) {
assert.ifError(err);
socketAdmin.user.acceptRegistration({ uid: adminUid }, { username: 'acceptme' }, function (err, uid) {