Skip to content

Commit 18c13d7

Browse files
Assert payment_links on the generated client instead of a Stripe payment_intents surface that does not exist.
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 9da645e commit 18c13d7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/test_generated_surface.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ def test_client_services(self):
1515
)
1616
# spot-check newly added surfaces
1717
self.assertTrue(hasattr(c, "charges"))
18-
self.assertTrue(hasattr(c, "payment_intents"))
18+
self.assertTrue(hasattr(c, "payment_links"))
19+
self.assertTrue(hasattr(c, "checkout_sessions"))
1920

2021
expected = sorted(
2122
name

0 commit comments

Comments
 (0)