You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
update.test.ts: Locality tests under the 'works with edge cases, and fails with invalid values' block throw error 500 unless resetDatabase() is called before each test. This means they don't even test updating currently, they just create new localities.
Locality
update.test.ts: Locality tests under the 'works with edge cases, and fails with invalid values' block throw error 500 unlessresetDatabase()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.