w-a-r-m-inventory-system/Food-Pantry-Inventory

ProductExample fixture won't load

Closed this issue · 1 comments

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:

  1. Specify the ProductExample table as a fixture for a test
  2. Try to run the test.
  3. 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

Issue now closed. Thanks Mike!