Commit Graph

2785 Commits

Author SHA1 Message Date
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 be0fe3eb4f Merge pull request #6479 from HabitRPG/new-history-preening
New history preening
2016-01-09 20:12:33 +01:00
Matteo Pagliazzi 2fff34cff4 finalize tests 2016-01-09 19:47:18 +01:00
Alys 58a92f626d Merge pull request #6464 from HabitRPG/fix_stat_allocation_bug
fix: Corrects stat allocation bug where it was possible to receive more points than 100
2016-01-09 23:00:06 +10:00
Matteo Pagliazzi dec08955ac fix tests 2016-01-08 23:02:18 +01:00
Matteo Pagliazzi 82651cf1ed initial tests 2016-01-08 18:58:54 +01:00
Matteo Pagliazzi ae852f9a2e complete preening and enable for challenges too 2016-01-08 17:47:08 +01:00
Matteo Pagliazzi 243b839392 wip: new history preening, delineate process and differentiate between subscribers and non 2016-01-07 20:07:13 +01:00
Matteo Pagliazzi fdd5ab724a begin implementing new preenUserHistory method: port current code to es6 and setup tests 2016-01-07 18:44:25 +01:00
Blade Barringer 8a19a84f3f lint(tests): Add e2e tests to linter 2016-01-06 20:52:24 -06:00
Taylor Hobbs a92646b4e9 tests(e2e): Fix test name to use proper English 2016-01-06 20:09:42 -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
Blade Barringer 75f71bc2ca fix: Corrects stat allocation bug where it was possible to recieve more points than 100
fixes #6434
2016-01-05 08:35:40 -06:00
Alys 8db492099c Revert "fix(common): Corrects bug where stat points could be awarded after level 100"
This reverts commit 2bbdf66d76.
2016-01-05 07:05:40 +10: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 2bbdf66d76 fix(common): Corrects bug where stat points could be awarded after level 100
Closes #6434
2016-01-04 07:58:59 -06: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
Blade Barringer 90cd322af5 Merge branch 'api-v3' into api-v3-groups 2015-12-31 15:50:46 -06:00
Blade Barringer 3a0e7149f6 Merge branch 'develop' into api-v3 2015-12-31 15:50:34 -06:00
Blade Barringer 730e5e3431 chore(lint): Add sandbox as global to test .eslintrc 2015-12-31 15:49:59 -06:00
Blade Barringer 0d75d5b541 lint: Move test eslint rules to .eslintrc in test directory 2015-12-31 15:46:47 -06:00