integreat-cms icon indicating copy to clipboard operation
integreat-cms copied to clipboard

Remove 'auth' and 'contenttypes' objects from testdata

Open david-venhoff opened this issue 7 months ago • 1 comments

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 and contenttypes 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

/


Pull Request Review Guidelines

david-venhoff avatar Jul 04 '24 13:07 david-venhoff