mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
adapt v2: getTask, getTasks, clearCompleted, addTask, deleteTask, getUser, getUserAnonymized, scoreTask (challenge part missing)
This commit is contained in:
@@ -3,7 +3,7 @@ import {
|
||||
translate as t,
|
||||
} from '../../../../helpers/api-integration/v2';
|
||||
|
||||
xdescribe('POST /user/tasks', () => {
|
||||
describe('POST /user/tasks', () => {
|
||||
let user;
|
||||
|
||||
beforeEach(async () => {
|
||||
@@ -35,7 +35,7 @@ xdescribe('POST /user/tasks', () => {
|
||||
});
|
||||
});
|
||||
|
||||
it('does not create a task with an id that already exists', async () => {
|
||||
xit('does not create a task with an id that already exists', async () => {
|
||||
let todo = user.todos[0];
|
||||
|
||||
return expect(user.post('/user/tasks', {
|
||||
|
||||
Reference in New Issue
Block a user