Matteo Pagliazzi
b1848da8de
do not output server logs when testing, ability to run tests and server separately
2016-01-29 14:43:14 +01:00
Matteo Pagliazzi
361d0aa35c
finally fix tests
2016-01-29 12:52:57 +01:00
Matteo Pagliazzi
80160597b0
fix for travis?
2016-01-29 12:37:17 +01:00
Matteo Pagliazzi
e345fa76f5
failing unit test
2016-01-29 12:07:46 +01:00
Matteo Pagliazzi
b960ecdd94
first attempt to fix fialing api-v3 tests
2016-01-29 11:13:39 +01:00
Matteo Pagliazzi
1369327c44
requester should resolve response.text if response is not json, better tests for csv export
2016-01-28 11:30:53 +01:00
Blade Barringer
e5f1c44a3e
feat: Add removeFromArray function
2016-01-25 18:08:01 -06:00
Keith Holliday
2063070f18
Added group toJSON conversion and fixed syntax errors
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
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
...
bf6814265c
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
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
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
Blade Barringer
0f5cf318d9
fix: Update member objects with guild info in test helper
2016-01-14 12:22:56 -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
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
7cf43680e6
Merge branch 'api-v3' into api-v3-groups
2015-12-31 12:22:20 -06:00
Blade Barringer
aa6f5fff23
Merge branch 'develop' into api-v3
2015-12-31 12:17:57 -06:00
Blade Barringer
108f90b0bf
tests(api): Add update method for api user
2015-12-31 12:15:57 -06:00
Blade Barringer
cd9fe5f1b6
Merge branch 'api-v3' into api-v3-groups
2015-12-30 08:30:43 -06:00
Blade Barringer
eab15a3dd0
tests(api): Port over new integration helper from develop
2015-12-30 07:57:41 -06:00
Blade Barringer
802bb93b6c
tests(api): Update integration helper in v2 to v3 changes
2015-12-29 20:37:29 -06:00
Blade Barringer
4c74c9949c
Correct linting error
2015-12-29 17:43:11 -06:00
Blade Barringer
b2336c7adf
tests(api): Add http methods to user object that is returned form generateUser
2015-12-29 17:34:11 -06:00