mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
refactor: Move auth route tests to auth folder
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import {
|
||||
generateUser,
|
||||
translate as t,
|
||||
} from '../../../../helpers/api-v3-integration.helper';
|
||||
import { model as User } from '../../../../../website/src/models/user';
|
||||
} from '../../../../../helpers/api-v3-integration.helper';
|
||||
import { model as User } from '../../../../../../website/src/models/user';
|
||||
|
||||
describe('PUT /user/auth/update-email', () => {
|
||||
let user;
|
||||
@@ -1,7 +1,7 @@
|
||||
import {
|
||||
generateUser,
|
||||
translate as t,
|
||||
} from '../../../../helpers/api-integration/v3';
|
||||
} from '../../../../../helpers/api-v3-integration.helper';
|
||||
|
||||
describe('PUT /user/auth/update-password', async () => {
|
||||
let endpoint = '/user/auth/update-password';
|
||||
@@ -1,8 +1,8 @@
|
||||
import {
|
||||
generateUser,
|
||||
translate as t,
|
||||
} from '../../../../helpers/api-integration/v3';
|
||||
import { model as User } from '../../../../../website/src/models/user';
|
||||
} from '../../../../../helpers/api-v3-integration.helper';
|
||||
import { model as User } from '../../../../../../website/src/models/user';
|
||||
|
||||
describe('PUT /user/auth/update-username', async () => {
|
||||
let endpoint = '/user/auth/update-username';
|
||||
Reference in New Issue
Block a user