Skip to content

Commit

Permalink
add default currency for OpportunityFactory
Browse files Browse the repository at this point in the history
  • Loading branch information
calellowitz authored Oct 9, 2024
1 parent cd63708 commit dc05b37
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions commcare_connect/opportunity/tests/factories.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ class OpportunityFactory(DjangoModelFactory):
total_budget = Faker("pyint", min_value=1000, max_value=10000)
api_key = SubFactory(HQApiKeyFactory)
delivery_type = SubFactory(DeliveryTypeFactory)
currency = "USD"

class Meta:
model = "opportunity.Opportunity"
Expand Down

0 comments on commit dc05b37

Please sign in to comment.