1
0
Fork 0
mirror of synced 2024-09-08 05:42:15 +12:00
appwrite/tests/e2e/Services
Safwan Parkar 0295c6ec1b improve test by removing user creation loop
The CREATE TEAM MEMBERSHIP endpoint requires the email of the user to be added to the team. If the user does not exist in the project, a new user is created with the specified email and added to the team.

The first version of the test creates 5 users, and then adds them to the newly created team. This process is more streamlined now, by using the CREATE TEAM MEMBERSHIPS behaviour to create a user on the go and create a membership for them immediately after.

I also change the way I add user IDs to the array, by using the shorthand notation instead of the `array_push` function.
2023-08-04 23:17:41 +04:00
..
Account Fix test after session expire format was updated 2023-07-19 23:52:33 +00:00
Avatars Add Tests 2022-09-05 11:21:04 +01:00
Console feat: console service 2023-03-31 17:14:59 +02:00
Databases fix formatting issues in comments according to feedback in PR. 2023-07-10 13:34:32 +05:30
Functions fix large deployment test 2023-04-19 05:38:54 +00:00
GraphQL Fix graphql upload test path 2023-05-30 19:41:06 +12:00
Health format files in app, src, tests 2022-05-23 14:54:50 +00:00
Locale format files in app, src, tests 2022-05-23 14:54:50 +00:00
Projects Update Project providers to also include the provider key 2023-07-20 16:53:33 -07:00
Realtime tests: fix teams tests 2023-03-23 13:06:48 +01:00
Storage Merge pull request #5402 from appwrite/fix-chunked-upload 2023-07-18 06:55:05 +03:00
Teams improve test by removing user creation loop 2023-08-04 23:17:41 +04:00
Users Remove invalid test 2023-03-24 23:09:49 +13:00
Webhooks tests: fix teams tests 2023-03-23 13:06:48 +01:00