mirror of
https://github.com/corazoncp/zoom-sched-poc.git
synced 2026-12-01 04:50:31 +00:00
test(r30/CR-05): assert status reverts to payment_pending on 502
- Verify GET /api/appointments/<sid> returns status payment_pending after Zoom create_meeting missing-keys 502 error
This commit is contained in:
1 parent
665dedc49e
commit
b1d86f1ea9
1 file changed
+4
@@ -544,6 +544,10 @@ def test_create_meeting_missing_required_keys_returns_502(client, monkeypatch):
|
||||
)
|
||||
assert p_resp.status_code == 502
|
||||
|
||||
g_resp = test_client.get(f"/api/appointments/{sid}")
|
||||
assert g_resp.status_code == 200
|
||||
assert g_resp.get_json()["status"] == "payment_pending"
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
("meeting", "expected_status"),
|
||||
|
||||
Reference in new issue
Block a user