code4romania / de-urgenta-backend

De Urgență backend - web & mobile
https://de-urgenta-backend.vercel.app/
Mozilla Public License 2.0
10 stars 21 forks source link

Added a configurable limit to the number of groups a user can create … #105

Closed VladCuciureanu closed 3 years ago

VladCuciureanu commented 3 years ago

What does it fix?

Closes #97

This PR implements configurable limits to how many groups can be created by an user, and also for how many groups can be joined by an user.

Also renamed a model since it's name contained a typo 😊

How has it been tested?

Wrote a test for each test case in which the limit is exceeded. If tests should be written for the cases where the limit is not exceeded, please contact me :)