Commit Graph

629 Commits

Author SHA1 Message Date
Blade Barringer
fdfc8fb2f5 Merge branch 'api-v3-groups' into GeorgeSG-api-v3-groups 2016-01-12 17:20:55 -06:00
Keith Holliday
e4fd37f3d0 Cleaned up code style and abstracted variables that are reused. 2016-01-12 13:08:13 -06:00
Keith Holliday
da02f8ca0f Removed pending status on test 2016-01-12 11:48:07 -06:00
Keith Holliday
99217e865c Added initial group update tests 2016-01-12 11:44:44 -06:00
Georgi Gardev
ac6a0276ab Refactor Tasks tests to use await syntax 2016-01-12 19:11:59 +02:00
Georgi Gardev
2e3bee08d8 Refactor User tests to use await expect instead of return expect 2016-01-12 19:00:16 +02:00
Georgi Gardev
eaddf5a393 Refactor notFound test to use await expect syntax 2016-01-12 18:59:53 +02:00
Georgi Gardev
98b0db749b Refactor User tests to use await syntax 2016-01-12 18:02:09 +02:00
Matteo Pagliazzi
b102ff7cae Merge branch 'api-v3-groups-invites' of https://github.com/TheHollidayInn/habitrpg into TheHollidayInn-api-v3-groups-invites 2016-01-12 15:48:47 +01:00
Keith Holliday
1b395b39f8 Added invite limit and tests for when multiple users with an error 2016-01-12 08:43:11 -06:00
Keith Holliday
9141598a34 Updated invite route and function for new standards, and added tests. 2016-01-12 08:43:11 -06:00
Blade Barringer
36cd9e9430 tests(api): Increase test coverage for group post tests 2016-01-12 08:14:50 -06:00
Blade Barringer
88755e69ae tests(api): Simplify tests 2016-01-12 08:14:12 -06:00
Georgi Gardev
ddd0709b12 Refactor Tags tests to use await syntax 2016-01-12 16:12:35 +02:00
Keith Holliday
ffbd4696e3 Converted posts tests to async/await syntax and updated tests 2016-01-11 12:35:46 -06:00
Matteo Pagliazzi
9dfcad238c rename tasks tests to match new routes 2016-01-06 18:41:25 +01:00
Matteo Pagliazzi
8ba486ec12 change tasks routes to /tasks/(user|challenge) 2016-01-06 18:40:11 +01:00
Matteo Pagliazzi
3bc8945bcc adapt current tests and change urls to avoid conflicts 2016-01-04 22:03:21 +01:00
Matteo Pagliazzi
d25cb70f66 wip get and create tasks plus initial user syncing 2016-01-04 19:44:39 +01:00
Blade Barringer
874f319d95 fix: Corrects logic where it was possible to customize avatar
with gem purchasable items without purchasing them.

Closes #6427
Closes #6448

lint(common): Add unnecessary quotes to make object look less weird
2016-01-03 10:41:44 -06:00
Kristian Tashkov
5bcce0b86b Add tests for group join route 2016-01-03 18:09:17 +02:00
Blade Barringer
f80f41f764 lint: Correct linting errors in v3 tests 2016-01-03 09:47:27 -06: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