Commit Graph

280 Commits

Author SHA1 Message Date
Blade Barringer f80f41f764 lint: Correct linting errors in v3 tests 2016-01-03 09:47:27 -06:00
Blade Barringer 37916271e8 Merge branch 'develop' into api-v3 2016-01-02 22:29:03 -06:00
Blade Barringer dfa2228dcc tests(api): Convert v2 status test to use await syntax 2016-01-02 22:23:53 -06:00
Blade Barringer 116fffaf4f lint: Fix linting errors in api v2 tests 2016-01-02 22:19:47 -06:00
Blade Barringer ff1e5ef221 lint: Use eslint --fix to automatically fix some issues in api v2 tests 2016-01-02 18:28:06 -06:00
Blade Barringer 66572ad9d5 tests(api): Update PUT user test to use await 2016-01-01 19:37:14 -06:00
Blade Barringer 195fdce9ce tests(api): Update GET groups and GET groups id tests to use await 2016-01-01 19:33:23 -06:00
Blade Barringer 9f9ba2797a tests(api): Update complex beforeEachs to use await 2016-01-01 13:31:11 -06:00
Blade Barringer 70b23d0629 tests(api): Convert simple user generation to use await 2016-01-01 13:17:25 -06:00
Blade Barringer ed753f4921 tests(api): Remove extra async 2016-01-01 12:56:43 -06:00
Blade Barringer 69c5192f70 tests(api): Add async to every it, before and beforeEach in v2 tests 2016-01-01 10:33:26 -06:00
Blade Barringer aa6f5fff23 Merge branch 'develop' into api-v3 2015-12-31 12:17:57 -06:00
Blade Barringer 4bc96c2c99 tests(api): Update GET /user test to use async syntax 2015-12-31 12:11:40 -06:00
Blade Barringer 4563f0efb7 tests(api): Convert new group tests to use async and await (ES7) 2015-12-30 17:32:08 -06:00
Blade Barringer ca1513aaa9 tests(api): Use new user['HTTP_METHOD'] for v3 integration tests 2015-12-30 08:25:06 -06:00
Blade Barringer a662d4b688 Merge branch 'develop' into api-v3 2015-12-30 07:58:55 -06:00
Blade Barringer 4cf9518a5a tests(api): Convert tests to use new api user methods 2015-12-29 17:34:33 -06:00
Blade Barringer bce049a316 Merge branch 'develop' of github.com:HabitRPG/habitrpg into api-v3 2015-12-29 08:06:22 -06:00
Blade Barringer 1aaebef114 tests(docs): Document how to run tests against a locally running server 2015-12-21 18:08:01 -06:00
Blade Barringer 6539399667 tests: Move api integration test readme to api directory 2015-12-21 18:03:13 -06:00
Matteo Pagliazzi 2e5c7df94f Merge pull request #6343 from HabitRPG/api-v3-tasks2
[API v3] Tasks 2
2015-12-16 13:18:05 +01:00
Matteo Pagliazzi 35316ebeb6 move completed todos outside of tasksOrder (and back) with tests 2015-12-16 12:57:19 +01:00
Matteo Pagliazzi d9e786ebaa checklists tests 2015-12-16 12:29:03 +01:00
Matteo Pagliazzi 13cbf03759 use cron middleware 2015-12-15 12:11:32 +01:00
Matteo Pagliazzi e547eb2dde add tests for tags ops on tasks 2015-12-14 22:44:50 +01:00
Matteo Pagliazzi da154d3ea3 tests for tags (missed some files before) 2015-12-14 21:56:29 +01:00
Blade Barringer 6709c83804 tests(apiv3): Remove incorrect tests 2015-12-14 12:37:59 -06:00
Blade Barringer 9205f01e01 tests(apiv3): Use lessThan and greaterThan expectation syntax 2015-12-14 12:13:02 -06:00
Blade Barringer ac61809fc0 tests(apiv3): Remove user dependency 2015-12-14 12:00:23 -06:00
Blade Barringer c20617e185 tests(apiv3): Remove unused dependency 2015-12-14 09:00:22 -06:00
Matteo Pagliazzi 409102ae19 wip score tests 2015-12-13 23:51:06 +01:00
Blade Barringer 65bb655a10 Merge branch 'develop' into api-v3 2015-12-13 16:39:59 -06:00
Matteo Pagliazzi a34f41f0f7 misc fixes, GET user (with tests), more comments for preenHistory 2015-12-13 20:08:14 +01:00
Matteo Pagliazzi e6d9c978f7 change score task route 2015-12-11 11:41:46 +01:00
Matteo Pagliazzi c5b7873406 add support for habitica-android in x-client header 2015-12-09 11:02:26 +01:00
Matteo Pagliazzi 6a0f9564e0 begins testing score task route 2015-12-09 10:40:40 +01:00
Matteo Pagliazzi 237be08a61 GET-tasks_id tests 2015-12-07 21:15:02 +01:00
Matteo Pagliazzi 3c4491606b finish PUT-tasks_id tests and fix some edge bugs 2015-12-07 21:00:15 +01:00
Matteo Pagliazzi 0272a36bac finish implementing tests for POST-tasks.test.js 2015-12-07 14:22:54 +01:00
Matteo Pagliazzi 66a675c5b0 simplify some tests, replace tags when updating tags (like for checklist) 2015-12-06 17:29:14 +01:00
Matteo Pagliazzi 955b0f042b fix tests 2015-12-06 17:07:29 +01:00
Matteo Pagliazzi cb08c383b9 misc fixes, add tests for some tasks routes 2015-12-06 16:51:18 +01:00
Blade Barringer 8a872bd8c0 tests: Add pending tests for scoring tasks 2015-12-04 11:12:25 -06:00
Blade Barringer 834ae123e8 tests: Add pending test for GET /tasks 2015-12-04 10:56:54 -06:00
Blade Barringer 431fc571fa tests: Add pending tests for getting a specific task in v3 2015-12-04 10:55:15 -06:00
Blade Barringer 5aca166837 tests: Add delete task integration test for v3 2015-12-04 10:50:41 -06:00
Blade Barringer 1a2cda0835 tests: Add additional pending tests 2015-12-04 10:39:20 -06:00
Blade Barringer 49cc6db05b tests(tasks): Rename test to conform to route style 2015-12-04 10:25:27 -06:00
Blade Barringer b0bcfff12d tests(tasks): Add pending tests for create task test 2015-12-04 10:24:40 -06:00
Blade Barringer c2ba90afcc tests(fix): Add return to expect promise in create task test 2015-12-04 09:13:50 -06:00