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
4bc96c2c99
tests(api): Update GET /user test to use async syntax
2015-12-31 12:11:40 -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
4cf9518a5a
tests(api): Convert tests to use new api user methods
2015-12-29 17:34:33 -06:00
Blade Barringer
1aaebef114
tests(docs): Document how to run tests against a locally running server
2015-12-21 18:08:01 -06:00
Blade Barringer
6539399667
tests: Move api integration test readme to api directory
2015-12-21 18:03:13 -06:00
Matteo Pagliazzi
c5b7873406
add support for habitica-android in x-client header
2015-12-09 11:02:26 +01:00
Blade Barringer
13da95b552
Add tests for clearflags route
2015-11-11 17:58:41 -06:00
Blade Barringer
117a254cc8
Patch exploit that would allow users to auto-delete messages
2015-11-11 06:46:11 -06:00
Blade Barringer
1fc21167dc
Send back flag data if user had flagged the message.
2015-11-10 08:15:54 -06:00
Blade Barringer
1e4570ff88
Move all delete user tests to new structure
2015-11-05 08:17:06 -06:00
Blade Barringer
cde66d6167
Merge pull request #6183 from crookedneighbor/clientIdentifier
...
Client identifier
2015-11-04 20:03:31 -06:00
Blade Barringer
797287a75c
Add and adjust tests for new register behavior.
2015-11-04 17:40:49 -06:00
Blade Barringer
269fd2a94f
Add test for admin flagging a message
2015-11-04 08:00:35 -06:00
Blade Barringer
799190a898
Merge branch 'develop' into flag_messages_in_api
2015-11-04 07:56:34 -06:00
Blade Barringer
8c95de0835
Move api tests to v2 namespace
2015-11-03 08:31:20 -06:00
Blade Barringer
1a68b5e9ee
Refactor and add tests to flagged messages.
2015-11-03 08:00:14 -06:00
Blade Barringer
6f3be77961
Add tests for flagged messages in get group object test
2015-11-02 07:46:21 -06:00
Blade Barringer
da06e0736a
Adjust style of tests.
2015-10-31 21:37:44 -05:00
Blade Barringer
f84a10ee4e
Simplify delete user test
2015-10-31 21:37:17 -05:00
Jeremy Abbott
19128cf8f2
Fnished user in solo group tests
...
Also minor code cleanup in random files.
2015-10-31 16:19:50 -05:00
Blade Barringer
421b402948
Add helper to check the existence of a document
2015-10-31 10:55:28 -05:00
Blade Barringer
ad6fbef85c
Move chat tests to new infrastructure
2015-10-30 14:47:14 -05:00
Blade Barringer
6f18470b65
Update readme
2015-10-30 09:04:19 -05:00
Blade Barringer
aa111b3c1a
Update tests to assert against translation strings
2015-10-30 09:01:57 -05:00
Blade Barringer
ee55c44548
Add text assertion to test
2015-10-29 08:42:37 -05:00
Blade Barringer
6ff904bd5a
Merge branch 'develop' into czan-develop
2015-10-29 08:40:03 -05:00
Blade Barringer
5cc790093e
Move join party tests to new structure.
2015-10-29 07:41:49 -05:00
Blade Barringer
55fcf678c3
Move push notification to new infrastructure.
2015-10-28 21:36:04 -05:00
Blade Barringer
265bb56db2
Move get user tests
2015-10-28 21:06:28 -05:00
Blade Barringer
e98484d0ec
Move anonymous route test to new structure.
2015-10-28 21:00:28 -05:00
Blade Barringer
fd4fb836f0
Move task tests
2015-10-28 17:18:27 -05:00
Blade Barringer
4886b50aa3
Add testing for batch update. Handle unknown operations better.
2015-10-27 08:13:30 -05:00
Carlo Zancanaro
4d6bd38648
Add GET routes for /user/tags and /user/tags/{id}
...
An operation that is useful for tools to be able to do is to list a
user's tags without having to pull down the entire user object (which is
likely significantly larger than the tags). This commit adds a route to
GET /user/tags, to get a list of the user's tags, as well as a GET
/user/tags/{id} to get the details of a particular tag.
This commit also includes tests for the two new routes.
2015-10-27 13:49:17 +11:00
Blade Barringer
09596c657b
Remove only form test
2015-10-26 17:34:29 -05:00
Blade Barringer
2790008937
Adjust error message to not point to a readme file that does not exist.
2015-10-26 17:27:08 -05:00
Blade Barringer
13bca6b9a9
Prevent class from being changed via PUT /user
2015-10-26 17:25:51 -05:00
Blade Barringer
c7b162271c
Adjust context title.
2015-10-26 17:13:21 -05:00
Blade Barringer
13fa14270d
Add additional check for stat change
2015-10-26 12:52:18 -05:00
Blade Barringer
f8d08b4195
Merge branch 'jeremyabbott-userputtests' into userput
2015-10-26 12:25:17 -05:00
Blade Barringer
6a6922bb3f
Add tests for protected paths
2015-10-26 12:24:02 -05:00
Jeremy Abbott
e4269723e1
Creates initial PUT /user test
...
Adds missing semi-colon to DELETE-user.test.js
2015-10-26 10:54:37 -05:00
Blade Barringer
0eac953170
Adjust stying of put test
2015-10-26 08:04:30 -05:00
Blade Barringer
cf7be0b7a3
Merge branch 'develop' into jeremyabbott-userputtests
2015-10-26 08:00:30 -05:00
Blade Barringer
04fbdaa107
Reinstate error code in resolve promise for api tests.
2015-10-26 07:53:51 -05:00