ProductExample fixture won't load
Closed this issue · 1 comments
deeppunster commented
Describe the bug
The name of the foreign key field for the Product table is incorrect in the ProductExample.json file in fixtures.
To Reproduce
Steps to reproduce the behavior:
- Specify the ProductExample table as a fixture for a test
- Try to run the test.
- See error: Problem installing fixture '.../FPI/Food-Pantry-Inventory/fpiweb/fixtures/ProductExample.json': and KeyError: 'prod_id'
Expected behavior
Expected fixture to load without error.
Git Branch
dev, others
deeppunster commented
Issue now closed. Thanks Mike!