mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-10 12:41:00 -05:00
When triggered by an admin request `dao_remove_user_from_service` raised an IntegrityError since the user_to_service delete query was issued before the folder permissions one, violating the foreign key constraint on the folder permissions table. For some reason this isn't caught by the tests in test_services_dao that check that folder permissions are removed properly.