Duplicate import of the same data should *NOT* error out

This commit is contained in:
Oliver Walters 2021-04-25 12:30:14 +10:00
parent f8ec32c3f5
commit 5dbebf37b7
3 changed files with 3 additions and 0 deletions

View File

@ -44,6 +44,7 @@ jobs:
rm test_db.sqlite
invoke migrate
invoke import-records -f data.json
invoke import-records -f data.json
- name: Test Translations
run: invoke translate
- name: Check Migration Files

View File

@ -56,4 +56,5 @@ jobs:
invoke import-fixtures
invoke export-records -f data.json
python3 ./InvenTree/manage.py flush --noinput
invoke import-records -f data.json
invoke import-records -f data.json

View File

@ -52,4 +52,5 @@ jobs:
invoke import-fixtures
invoke export-records -f data.json
python3 ./InvenTree/manage.py flush --noinput
invoke import-records -f data.json
invoke import-records -f data.json