Commit Graph

1250 Commits

Author SHA1 Message Date
Keith Holliday febc48cd41 Fixed failing chat test by using and admin to view chat flags 2016-01-23 13:42:01 -06:00
Keith Holliday ab5fc1f526 Added initial get group tests 2016-01-23 13:42:00 -06: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
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
Blade Barringer 7b59455252 tests(api): Add generateChallenge helper 2016-01-17 13:58:46 -06:00
Blade Barringer 81e6172fb1 tests: Tighten up generateGroup members helper 2016-01-17 13:42:09 -06:00
Blade Barringer b75adb4f3b tests(api): Pull in theunknown's changes to createAndPopulateGroup
https://github.com/KristianTashkov/habitrpg/commit/bf6814265c34b52b6efa565c60f3bb43da814164
2016-01-17 13:22:39 -06:00
Blade Barringer 1e9f24a6b0 Merge branch 'api-v3' into api-v3-groups 2016-01-17 11:45:00 -06:00
Blade Barringer 5d803fde56 tests(api): Adjust v3 api-integration helper to export all generate methods 2016-01-17 11:43:31 -06:00
Blade Barringer 08381793a8 Merge branch 'develop' into api-v3 2016-01-17 11:41:49 -06:00
Blade Barringer 4a3871f52f tests(api): Add ApiChallenge class 2016-01-17 11:41:29 -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 38cdf07a4d Merge branch 'api-v3' into api-v3-groups 2016-01-16 21:56:55 -06:00
Blade Barringer 5de2503039 Merge branch 'develop' into api-v3 2016-01-16 21:54:13 -06:00
Blade Barringer 96f6bbfb0c tests(api): Add sync method to api objects 2016-01-16 21:50:54 -06:00
Blade Barringer 965c5dbaa7 Merge branch 'api-v3' into api-v3-groups 2016-01-16 19:46:47 -06:00
Blade Barringer a44cf5e0fc lint: Fix linting erros in test helpers 2016-01-16 19:27:03 -06:00
Blade Barringer 5dd2dcd6d8 Merge branch 'improve_tests' into api-v3 2016-01-16 19:24:39 -06:00
Blade Barringer 87d4c68bea lint: Correct linting errors 2016-01-16 19:13:33 -06:00
Blade Barringer ec9d0fd278 tests: Set up placeholder file for api test helpers 2016-01-16 18:13:11 -06:00
Blade Barringer 07f08de989 Merge branch 'improve_tests' into api-v3 2016-01-16 18:12:36 -06:00
Blade Barringer 91ffe5c402 tests(api): Reorganize integration helper for v2 2016-01-16 17:28:36 -06:00
Blade Barringer ef5064f351 Move generators to own file 2016-01-16 17:23:30 -06:00
Blade Barringer 6287ae6776 tests(api): Outsource mongo updates to mongo module in api helper 2016-01-16 14:33:53 -06:00
Blade Barringer 80224adafa tests: Extract mongo functions into separate file 2016-01-16 14:12:26 -06:00
Blade Barringer 54159c069d tests: Move api translation checkout out into separate file 2016-01-16 14:09:20 -06:00
Blade Barringer e9f618da5e tests: Extract api objects to separate files 2016-01-16 14:06:47 -06:00
Blade Barringer 29415441f7 tests: Create base class that ApiUser and ApiGroup inherit from 2016-01-16 09:48:51 -06:00
Blade Barringer 9f2a8c03b2 tests: Remove references to different api routes in helper 2016-01-16 09:45:02 -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 d7d63ad229 populate group.leader 2016-01-16 15:10:18 +01:00
Blade Barringer 28fc6dd4bd tests: Convert helpers to use async/await 2016-01-15 20:36:54 -06: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 2cc02ee1f1 refactor(test helper): Fix api v3 helper to be specific for v3 2016-01-14 08:55:44 -06:00
Matteo Pagliazzi 52eaecf653 Merge branch 'api-v3-groups' of github.com:HabitRPG/habitrpg into api-v3-groups 2016-01-13 23:07:34 +01:00
Matteo Pagliazzi 9a908785c1 new history preening, save tasks after cron 2016-01-13 23:07:08 +01: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