0422c705f5
Patch entire task objects instead of just .delay method to properly intercept Celery task calls in app.api.files module. This fixes 7 failing tests that were getting 'Expected delay to have been called once. Called 0 times.' errors. Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>