Commit Graph

309 Commits

Author SHA1 Message Date
Georgi Gardev ddd0709b12 Refactor Tags tests to use await syntax 2016-01-12 16:12:35 +02:00
Kristian Tashkov 5bcce0b86b Add tests for group join route 2016-01-03 18:09:17 +02:00
Blade Barringer 76c97dfa6e Merge branch 'api-v3' into api-v3-groups 2016-01-02 22:29:59 -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
Matteo Pagliazzi a775c992ab fix linting and add pending test 2016-01-02 18:23:01 +01:00
Matteo Pagliazzi 27065b3f4d more tests for user.tasksOrder 2016-01-02 18:21:06 +01:00
Matteo Pagliazzi 743f98d67d make sure user.tasksOrder is update only when necessary 2016-01-02 17:46:31 +01:00
Matteo Pagliazzi 7490bfae87 update POST-tasks test to async/await syntax 2016-01-02 16:04:39 +01:00
Matteo Pagliazzi 775766b30f allow multiple tasks to be created at once 2016-01-02 15:43:33 +01: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 91e7b9eb32 tests(api): Convert GET and flag chat posts to use async/await 2015-12-31 18:11:03 -06:00
Kristian Tashkov 7025bbfa32 Fix basilist scroll giving logic when joining party
closes #6416
2015-12-31 12:32:52 -06:00
Blade Barringer 7cf43680e6 Merge branch 'api-v3' into api-v3-groups 2015-12-31 12:22:20 -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 9428c6d997 lint: Correct linting errors in api v3 tests 2015-12-31 08:57:20 -06:00
Blade Barringer 70151fd073 lint: Fix tests that can be fixed with the eslint --fix flag 2015-12-31 08:57:20 -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 dc3407e1af tests(api): Convert groups tests to use user['HTTP_METHOD'] syntax 2015-12-30 08:44:02 -06:00
Blade Barringer cd9fe5f1b6 Merge branch 'api-v3' into api-v3-groups 2015-12-30 08:30:43 -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
Matteo Pagliazzi 8361afc433 Merge pull request #6412 from KristianTashkov/fix-api-v3-tests
Fix GET chat tests stopping execution of other tests in api-v3-groups branch
2015-12-29 21:05:46 +01:00
Kristian Tashkov 411bfe1bb6 Fix GET chat tests stopping execution of other tests 2015-12-29 20:51:16 +02:00
Matteo Pagliazzi a44090e1ed Merge branch 'api-v3' into api-v3-groups 2015-12-29 18:17:36 +01:00
Blade Barringer bce049a316 Merge branch 'develop' of github.com:HabitRPG/habitrpg into api-v3 2015-12-29 08:06:22 -06:00
Keith Holliday 2750446e7b Updated POST like route to persist data between updates 2015-12-28 18:45:34 -06:00
Keith Holliday b3feb997d3 Change group save to Group update, added flags route and tests, and made eslint edits 2015-12-28 08:09:17 -06:00
Keith Holliday 54109f0e62 Removed redundant code and changed like route to return only altered message 2015-12-27 00:27:06 -06:00
Keith Holliday dff464489a Added chat like route and tests 2015-12-24 18:52:14 -06:00
Keith Holliday 77414ca49a Added chat post route and initial tests 2015-12-22 08:48:47 -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
Sabe Jones a48ece7a34 fix(test): return functions 2015-12-21 18:45:24 -05:00
Sabe Jones 67da5a977a test(chat): user not member of group
Currently failing because group is not getting defined correctly?
2015-12-21 17:33:16 -05:00
Matteo Pagliazzi 8b79f74e54 fix tests 2015-12-19 18:23:13 +01:00
Matteo Pagliazzi 3e87c8d3e9 fix some tests 2015-12-19 18:07:39 +01:00
Keith Holliday 33525b105f Added initial group POST tests 2015-12-18 23:43:57 -06:00
Sabe Jones c7b3e3c3e1 fix(test): Remove only 2015-12-17 18:50:26 -05:00
Sabe Jones c3b981dc91 test(api): chat WIP 2015-12-17 18:48:10 -05: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