Found a broken test in the process. I've been submitting PR's against the asset-ui branch and CI/CD apparently doesn't run unless it's against the main branch. So there is a small code change in template to fix that.
Testing Instructions
Fetch this branch locally and run the tests:
docker-compose -f docker-compose.yml -f tests/docker-compose.yml run --rm app
Overview
Closes:
105
Notes
Found a broken test in the process. I've been submitting PR's against the
asset-ui
branch and CI/CD apparently doesn't run unless it's against the main branch. So there is a small code change in template to fix that.Testing Instructions
docker-compose -f docker-compose.yml -f tests/docker-compose.yml run --rm app
ccfp-asset-dashboard test user
localhost:8000/local-assets/
with this request body:This should give you a 403 error.