Commit Graph

30 Commits

Author SHA1 Message Date
Blade Barringer f6f5b1a118 tests: Remove dependency on mongoose User model in auth tests 2016-03-18 07:57:42 -05:00
Blade Barringer 2ef176c6f2 refactor: Move auth route tests to auth folder 2016-03-18 07:55:19 -05:00
Blade Barringer d1af7adff6 refactor: Update user update routes to be under auth namespace 2016-03-18 07:35:14 -05:00
Blade Barringer 22d25f8be3 fix: Change update user routes to use PUT instead of POST 2016-03-18 07:35:14 -05:00
Matteo Pagliazzi 219ec01ce9 port shared.ops.allocate 2016-03-15 18:41:23 +01:00
Matteo Pagliazzi b2b4340ee3 change response for shared.ops.sleep, save user in POST /user/sleep and add integration tests for it 2016-03-15 17:05:07 +01:00
Victor Piousbox 0b25720232 cleanup 2016-03-13 14:01:53 -07:00
Victor Piousbox c14f0c4247 update username, password 2016-03-13 10:42:59 -07:00
Matteo Pagliazzi b5e1cd33e2 Merge branch 'develop' into api-v3 2016-03-05 19:29:02 +01:00
Matteo Pagliazzi 6830a4464a Merge branch 'api-v3-email-3' of https://github.com/piousbox/habitrpg into piousbox-api-v3-email-3 2016-03-05 19:24:11 +01:00
Victor Piousbox 7dfdbb8b05 /user/update-email endpoint 2016-03-04 21:27:16 +00:00
Matteo Pagliazzi 96c582e062 fix tests, move most errors to shared code 2016-03-03 19:16:03 +01:00
Matteo Pagliazzi 80f791c86b add tests, move CustomError to common, fix casting 2016-03-03 00:16:28 +01:00
Matteo Pagliazzi 5e68589ac8 check for membership when leaving public guild, fix memberCount update when leaving group, add missing files 2016-02-28 01:11:45 +01:00
Matteo Pagliazzi 0014afb75e add tests for req.query.groupInvite 2016-02-26 19:43:17 +01:00
Blade Barringer 07f08de989 Merge branch 'improve_tests' into api-v3 2016-01-16 18:12:36 -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 f80f41f764 lint: Correct linting errors in v3 tests 2016-01-03 09:47:27 -06:00
Blade Barringer ca1513aaa9 tests(api): Use new user['HTTP_METHOD'] for v3 integration tests 2015-12-30 08:25:06 -06:00
Matteo Pagliazzi a34f41f0f7 misc fixes, GET user (with tests), more comments for preenHistory 2015-12-13 20:08:14 +01:00
Matteo Pagliazzi 427c805ea5 fix user tests and misc changes 2015-12-02 11:22:53 +01:00
Matteo Pagliazzi 4a941deece remove success field from json responses 2015-11-23 21:04:21 +01:00
Matteo Pagliazzi 349122c9a1 add res.respond, fix linting 2015-11-23 13:01:47 +01:00
Matteo Pagliazzi a26f713e18 misc fixes, add ability to attach local auth to social user 2015-11-23 12:47:15 +01:00
Blade Barringer 78cdc1753f tests(api): Add test for registering with an invalid email 2015-11-21 13:52:09 -06:00
Blade Barringer 49e7799baa tests(api): clean up code style of test file 2015-11-21 13:51:31 -06:00
Matteo Pagliazzi afbfbdd01c fix mongoose promise, some user validation, tests urls 2015-11-21 14:27:24 +01:00
Matteo Pagliazzi 3608742e20 fix bugs on user controller 2015-11-21 12:26:48 +01:00
Blade Barringer 07247033b2 test: Add integration test for POST user/register/local 2015-11-20 19:14:07 -06:00