Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ProductExample fixture won't load #267

Closed
deeppunster opened this issue Aug 22, 2020 · 1 comment · Fixed by #268
Closed

ProductExample fixture won't load #267

deeppunster opened this issue Aug 22, 2020 · 1 comment · Fixed by #268
Assignees
Labels
bug Something isn't working good first issue Good for newcomers requirement Required for proper operation

Comments

@deeppunster
Copy link
Contributor

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

@deeppunster deeppunster added bug Something isn't working good first issue Good for newcomers requirement Required for proper operation labels Aug 22, 2020
@deeppunster deeppunster added this to To do in 0.95 - Race to complete functionality via automation Aug 22, 2020
@deeppunster
Copy link
Contributor Author

Issue now closed. Thanks Mike!

0.95 - Race to complete functionality automation moved this from To do to Done Aug 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers requirement Required for proper operation
2 participants