Closed pgeorge2 closed 3 years ago
Write a test called test_confirmation_and_primary_validator_post_400_unique_recipients. Pass the dummy data and verify 400 status code along with the unique constraint error message. Refer InvalidBlockViewSet view and InvalidBlock model.
test_confirmation_and_primary_validator_post_400_unique_recipients
Hint: Refer below link for reference. https://github.com/thenewboston-developers/Bank/blob/14df0677f536e60518363b74c172bee0e21353d9/v1/blocks/tests/block.py#L46
I take this. I will reuse code changes in #115 . So I will open PR after #115 is merged.
Write a test called
test_confirmation_and_primary_validator_post_400_unique_recipients
. Pass the dummy data and verify 400 status code along with the unique constraint error message. Refer InvalidBlockViewSet view and InvalidBlock model.Hint: Refer below link for reference. https://github.com/thenewboston-developers/Bank/blob/14df0677f536e60518363b74c172bee0e21353d9/v1/blocks/tests/block.py#L46