Skip to content
Snippets Groups Projects
Commit 37701f88 authored by Erwan Rouchet's avatar Erwan Rouchet Committed by Bastien Abadie
Browse files

Use natural foreign keys in test fixtures

parent 696088ca
No related branches found
Tags 1.0.2
1 merge request!2452Use natural foreign keys in test fixtures
......@@ -29,7 +29,7 @@ test-fixtures:
test-fixtures-run:
arkindex migrate
arkindex build_fixtures
arkindex dumpdata --indent 4 process documents images users auth ponos training > arkindex/documents/fixtures/data.json
arkindex dumpdata --natural-foreign --natural-primary --indent 4 process documents images users ponos training > arkindex/documents/fixtures/data.json
test-fixtures-restore:
# This first renaming ensures that arkindex_tmp_fixtures exists; we don't want to drop arkindex_dev without a backup
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment