fix: backend improvements (customer health, tests, middleware, corpus)
This commit is contained in:
@@ -149,8 +149,9 @@ class TestPaymentAPI:
|
||||
response = await client.post(
|
||||
"/api/v1/payment/create-order",
|
||||
headers=auth_headers,
|
||||
json={"plan": "pro"},
|
||||
json={"plan": "free"},
|
||||
)
|
||||
assert response.status_code == 200
|
||||
data = response.json()
|
||||
assert "prepay_id" in data or "order_id" in data or "url" in data
|
||||
assert data["status"] == "ok"
|
||||
assert data["plan"] == "free"
|
||||
|
||||
Reference in New Issue
Block a user