integreat-cms
integreat-cms copied to clipboard
Remove 'auth' and 'contenttypes' objects from testdata
Short description
This pr fixes a bug where it was impossible to modify groups in migrations, because they were always overwritten by their values from the test data. It was an oversight from #2781 that the new test data file contains auth values.
The updated command I used to generate the test data is ./tools/integreat-cms-cli dumpdata --natural-primary --natural-foreign --exclude auth --exclude contenttypes --o test_data.json
Proposed changes
- Exclude
auth
models andcontenttypes
models from the test data (Unfortunately this caused some shuffling around in the test data)
Side effects
- Test data now also contain some values that were forgotten to add in previous pull requests
Resolved issues
/