mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-15 21:57:22 +01:00
fix user anonymized tests
This commit is contained in:
@@ -7,13 +7,13 @@ import {
|
|||||||
import common from '../../../../../common';
|
import common from '../../../../../common';
|
||||||
import { v4 as generateUUID } from 'uuid';
|
import { v4 as generateUUID } from 'uuid';
|
||||||
|
|
||||||
describe.only('GET /user/anonymized', () => {
|
describe('GET /user/anonymized', () => {
|
||||||
let user;
|
let user;
|
||||||
let endpoint = '/user/anonymized';
|
let endpoint = '/user/anonymized';
|
||||||
|
|
||||||
before(async () => {
|
before(async () => {
|
||||||
user = await generateUser();
|
user = await generateUser();
|
||||||
await user.update({ newMessages: ['some', 'new', 'messages'], profile: 'profile', 'purchased.plan': 'purchased plan',
|
await user.update({ newMessages: ['some', 'new', 'messages'], 'profile.name': 'profile', 'purchased.plan': 'purchased plan',
|
||||||
contributor: 'contributor', invitations: 'invitations', 'items.special.nyeReceived': 'some', 'items.special.valentineReceived': 'some',
|
contributor: 'contributor', invitations: 'invitations', 'items.special.nyeReceived': 'some', 'items.special.valentineReceived': 'some',
|
||||||
webhooks: 'some', 'achievements.challenges': 'some',
|
webhooks: 'some', 'achievements.challenges': 'some',
|
||||||
'inbox.messages': [{ text: 'some text' }],
|
'inbox.messages': [{ text: 'some text' }],
|
||||||
|
|||||||
Reference in New Issue
Block a user