Skip to content

Commit

Permalink
[#2577] Add more fields to request payload
Browse files Browse the repository at this point in the history
  • Loading branch information
pbanaszkiewicz committed Nov 29, 2023
1 parent 9f7f182 commit bf5644c
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ def test_integration(self) -> None:

membership = Membership.objects.create(
name="Test Membership",
consortium=False,
variant="partner",
registration_code="test-beta-code-test",
agreement_start=date.today(),
Expand Down Expand Up @@ -138,11 +139,14 @@ def test_integration(self) -> None:
url = reverse("membership_edit", args=[membership.pk])
data = {
"name": membership.name,
"consortium": membership.consortium,
"public_status": membership.public_status,
"variant": membership.variant,
"agreement_start": membership.agreement_start,
"agreement_end": membership.agreement_end,
"contribution_type": membership.contribution_type,
"registration_code": "",
"agreement_link": "https://example.org",
"public_instructor_training_seats": 1,
"additional_public_instructor_training_seats": 2,
"inhouse_instructor_training_seats": 3,
Expand Down

0 comments on commit bf5644c

Please sign in to comment.