Locality
Person
Creating a new Person is not tested. Creating a new Person is not possible.
Museum
- Deleting a Museum is not tested (if it's even possible to do) Deleting a museum is not possible.
There are also likely some update tests missing for various entities (see also #1220 ).
Locality
update.test.ts:Locality tests under the 'works with edge cases, and fails with invalid values' block throw error 500 unlessFixed in Update backend services, user right tests and user right documentation #1217 .resetDatabase()is called before each test. This means they don't even test updating currently, they just create new localities.update.test.ts:We should test that an EditRestricted user is not able to update a locality that does not have the user as a member of a linked project (see also EditRestricted users can unlink a locality from a project (if they have created that locality), and still edit it #1215 ). I tried to create a test for this but ran into an issue where the server threw a error with code 500 when trying to edit a locality which the user previously had access to.Fixed in Update backend services, user right tests and user right documentation #1217 .Person
Creating a new Person is not tested.Creating a new Person is not possible.Museum
- Deleting a Museum is not tested (if it's even possible to do)Deleting a museum is not possible.There are also likely some update tests missing for various entities (see also #1220 ).