+ it('Should be able to change the NSFW display attribute', function (done) {
+ usersUtils.updateUser(server.url, userId, accessTokenUser, null, true, function (err, res) {
+ if (err) throw err
+
+ usersUtils.getUserInformation(server.url, accessTokenUser, function (err, res) {
+ if (err) throw err
+
+ const user = res.body
+
+ expect(user.username).to.equal('user_1')
+ expect(user.email).to.equal('user_1@example.com')
+ expect(user.displayNSFW).to.be.truthy
+ expect(user.id).to.exist
+
+ done()
+ })
+ })
+ })
+