Skip to content

Commit fe585c0

Browse files
Fix: sample ID is too short
1 parent a2c2d3c commit fe585c0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/meshapi/tests/sample_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"unit": "3",
4141
"roof_access": True,
4242
"notes": "Referral: Read about it on the internet",
43-
"stripe_subscription_id": "sub_NotARealIDValue",
43+
"stripe_subscription_id": "sub_NotARealSubscriptionIDValue",
4444
}
4545

4646
sample_address_response = {

src/meshapi/tests/test_install_create_signals.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,5 +518,5 @@ def test_constructing_install_stripe_exception_sends_slack_admin_alert(
518518
[install],
519519
InstallSerializer,
520520
"Fatal exception (after retries) when trying to update the Stripe subscription(s): "
521-
"[None, 'sub_NotARealIDValue']",
521+
"[None, 'sub_NotARealSubscriptionIDValue']",
522522
)

src/meshapi/tests/test_serializers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def test_views_get_install(self):
183183
"request_date": "2022-02-27T00:00:00Z",
184184
"roof_access": True,
185185
"status": "Active",
186-
"stripe_subscription_id": None,
186+
"stripe_subscription_id": "sub_NotARealSubscriptionIDValue",
187187
"ticket_number": "69",
188188
"unit": "3",
189189
}

0 commit comments

Comments
 (0)