Commit Graph

214 Commits

Author SHA1 Message Date
Kristian Tashkov
926f22f272 Add missing tests in group join route 2016-01-20 19:52:09 +02:00
Keith Holliday
ef6afaedb4 Added intitial group leave tests
Fixed test readability, updated party test, and updated challenge update code when leaving group
Updated library, added group existance check, and reset full party
Updated syntax, added new userUnlinkChallenges, and added some initial testing for challenges
Added challenge tasks tests
Added try/catch to group remove, add more party tests, fixed broken challenge test, removed useless return value
Added public guild tests, added more tests to party, and abstracted remove invitations logic

Closes #6506
2016-01-20 08:51:30 -06:00
Keith Holliday
be55176954 Ensured tavern is not returned twice and removed leader population 2016-01-19 08:13:24 -06:00
Matteo Pagliazzi
ee854229c7 fix dateCompleted not remove from un-completed todos and fix tasks test 2016-01-18 15:01:46 +01:00
Keith Holliday
d93cabafb9 Added initial tests for createChallengeTasks and fixed some issues in the challenge and challengeTask routes 2016-01-17 16:03:19 -06:00
Kristian Tashkov
f37b5a7fac Challenges join route and tests 2016-01-17 15:44:15 -06:00
Keith Holliday
c5947ca9c4 Updated party test to conform to new leader populate 2016-01-17 14:20:51 -06:00
Keith Holliday
417d754a0d Added intial group remove member tests 2016-01-17 14:02:17 -06:00
Blade Barringer
7b59455252 tests(api): Add generateChallenge helper 2016-01-17 13:58:46 -06:00
Keith Holliday
b60e0a4c64 Added initial get groups tests 2016-01-17 13:32:31 -06:00
Matteo Pagliazzi
ec7ed9c90e add tests for getChallengeMemberProgress route and several bug fixes 2016-01-17 18:31:03 +01:00
Matteo Pagliazzi
c27f98075c Merge branch 'api-v3-groups' into api-v3-members 2016-01-17 11:24:10 +01:00
Blade Barringer
965c5dbaa7 Merge branch 'api-v3' into api-v3-groups 2016-01-16 19:46:47 -06:00
Blade Barringer
07f08de989 Merge branch 'improve_tests' into api-v3 2016-01-16 18:12:36 -06:00
Matteo Pagliazzi
f8f591e521 do not use wait inside for loop 2016-01-16 16:37:21 +01:00
Matteo Pagliazzi
a59da8607b add tests for getting invites to a group 2016-01-16 16:32:46 +01:00
Matteo Pagliazzi
4e5c4e9953 add missing test file 2016-01-16 16:18:29 +01:00
Matteo Pagliazzi
f447af19ae add tests for getting challenge members and fix a lot of bugs 2016-01-16 16:18:06 +01:00
Matteo Pagliazzi
96c523493a fix missing semicolon 2016-01-15 22:08:51 +01:00
Matteo Pagliazzi
ad41037f59 finish tests for members controller 2016-01-15 21:47:20 +01:00
Matteo Pagliazzi
2ee75c1ad3 add tests for getMember 2016-01-15 19:44:45 +01:00
Blade Barringer
5ff54fa332 Merge branch 'api-v3-groups' into api-v3-groups-create-and-populate 2016-01-14 12:23:52 -06:00
Blade Barringer
0f5cf318d9 fix: Update member objects with guild info in test helper 2016-01-14 12:22:56 -06:00
Matteo Pagliazzi
2b9aa11598 Merge branch 'api-v3-groups' into api-v3-challenges-tasks 2016-01-14 18:25:59 +01:00
Blade Barringer
42530b9a5f refactor(tests): Adjust tests to use createAndPopulateGroup 2016-01-14 08:56:16 -06:00
Blade Barringer
1f4e58e5cc tests(api): Port integration helper to v3 version for groups tests 2016-01-13 12:39:23 -06:00
Blade Barringer
799b3780b1 Merge branch 'api-v3' into api-v3-groups 2016-01-13 12:32:48 -06:00
Blade Barringer
b68861681c tests(integration): Create separate helper for api integration tests 2016-01-13 12:32:36 -06:00
Blade Barringer
c9d378ab35 tests(api): bring in await format tests 2016-01-12 18:10:10 -06:00
Blade Barringer
0c30b56bb0 Merge pull request #6498 from TheHollidayInn/api-v3-groups-update
Added initial group update tests
2016-01-12 18:03:38 -06:00
Blade Barringer
a3fd838677 tests(api): Fix PUT /task test to be valid 2016-01-12 18:01:47 -06:00
Blade Barringer
ae67efd7ce Merge branch 'GeorgeSG-api-v3-groups' into api-v3-groups 2016-01-12 17:47:21 -06:00
Blade Barringer
336d8c9916 tests(api): Clean up misc test styles 2016-01-12 17:36:14 -06:00
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