forked from eatvio/eatvio_app
feat(chat): reorganize test fixtures
This commit is contained in:
6
test/fixtures/chat/payments/alfa_status_failed_response.json
vendored
Normal file
6
test/fixtures/chat/payments/alfa_status_failed_response.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"order_id": "alfa_c29_k15138_t1712345678_r1234",
|
||||
"status": "failed",
|
||||
"is_paid": false,
|
||||
"is_expired": false
|
||||
}
|
||||
6
test/fixtures/chat/payments/alfa_status_pending_response.json
vendored
Normal file
6
test/fixtures/chat/payments/alfa_status_pending_response.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"order_id": "alfa_c29_k15138_t1712345678_r1234",
|
||||
"status": "pending",
|
||||
"is_paid": false,
|
||||
"is_expired": false
|
||||
}
|
||||
6
test/fixtures/chat/payments/alfa_status_processing_response.json
vendored
Normal file
6
test/fixtures/chat/payments/alfa_status_processing_response.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"order_id": "alfa_c29_k15138_t1712345678_r1234",
|
||||
"status": "processing",
|
||||
"is_paid": false,
|
||||
"is_expired": false
|
||||
}
|
||||
6
test/fixtures/chat/payments/alfa_status_success_response.json
vendored
Normal file
6
test/fixtures/chat/payments/alfa_status_success_response.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"order_id": "alfa_c29_k15138_t1712345678_r1234",
|
||||
"status": "success",
|
||||
"is_paid": true,
|
||||
"is_expired": false
|
||||
}
|
||||
5
test/fixtures/chat/payments/order_id_to_chat_uuid_response.json
vendored
Normal file
5
test/fixtures/chat/payments/order_id_to_chat_uuid_response.json
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
|
||||
{
|
||||
"chosen_plan_id": 12,
|
||||
"conversation_uuid": "fbd81429-8019-499a-80e8-e3933cc4d872"
|
||||
}
|
||||
3
test/fixtures/chat/payments/payment_alfabank_request.json
vendored
Normal file
3
test/fixtures/chat/payments/payment_alfabank_request.json
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"payment_provider": "alfa-bank"
|
||||
}
|
||||
3
test/fixtures/chat/payments/payment_mock_requeste.json
vendored
Normal file
3
test/fixtures/chat/payments/payment_mock_requeste.json
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"payment_provider": "mock"
|
||||
}
|
||||
4
test/fixtures/chat/payments/payment_response.json
vendored
Normal file
4
test/fixtures/chat/payments/payment_response.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"checkout_url": "https://example.com/checkout/payment-123"
|
||||
}
|
||||
|
||||
5
test/fixtures/chat/payments/payment_response_alfa_bank.json
vendored
Normal file
5
test/fixtures/chat/payments/payment_response_alfa_bank.json
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"checkout_url": "https://qr.nspk.ru/ASDFASDFASDFASDF",
|
||||
"payment_provider": "alfa-bank",
|
||||
"order_id": "alfa_c29_k15138_t1712345678_r1234"
|
||||
}
|
||||
Reference in New Issue
Block a user