mirror of
https://github.com/Mailu/Mailu.git
synced 2024-12-12 10:45:38 +02:00
da36ac0e92
3203: Add automatic tests for RESTful API r=mergify[bot] a=Diman0 and fix all remaining issues that I could find with the API. ## What type of PR? internal feature / bug-fix ## What does this PR do? I first wanted to finish #3113 before continuing on the tests to keep the scope smaller of the PR. This PR adds automatic tests that tests **all** the interfaces of the RESTful API. Practically it only tests the normal Ok (http 200) situations. Maybe in the future we could add more tests to check if the validation checks work correctly for each interface. I also fixed any issues I could find with the RESTful API. I can at least confirm that all interfaces work now. I think the validation checks are also complete now. ### Related issue(s) ## Prerequisites Before we can consider review and merge, please make sure the following list is done and checked. If an entry in not applicable, you can check it or remove it from the list. - [n/a] In case of feature or enhancement: documentation updated accordingly - [n/a] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/workflow.html#changelog) entry file. Co-authored-by: Dimitri Huisman <diman@huisman.xyz> |
||
---|---|---|
.. | ||
admin | ||
base | ||
dovecot | ||
nginx | ||
none | ||
oletools | ||
postfix | ||
rspamd |