fix property name
This commit is contained in:
parent
912f730949
commit
8ccb95d45f
@ -2,7 +2,7 @@ import { Cart } from "../../model/cart";
|
|||||||
import { Tariffs } from "../../model/tariff";
|
import { Tariffs } from "../../model/tariff";
|
||||||
import { User } from "../../model/user";
|
import { User } from "../../model/user";
|
||||||
|
|
||||||
type TestCase = {
|
export type TestCase = {
|
||||||
input: {
|
input: {
|
||||||
UserInformation: User;
|
UserInformation: User;
|
||||||
Products: Array<{
|
Products: Array<{
|
||||||
@ -31,7 +31,7 @@ export const exampleCartValues: ExampleCartValues = {
|
|||||||
"privilegeId": "p1",
|
"privilegeId": "p1",
|
||||||
"description": "привилегия безлимитного доступа к шаблонизатору на время. в днях",
|
"description": "привилегия безлимитного доступа к шаблонизатору на время. в днях",
|
||||||
"type": "day",
|
"type": "day",
|
||||||
"price": 0.5
|
"pricePerUnit": 0.5
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"serviceKey": "templategen",
|
"serviceKey": "templategen",
|
||||||
@ -39,7 +39,7 @@ export const exampleCartValues: ExampleCartValues = {
|
|||||||
"privilegeId": "p2",
|
"privilegeId": "p2",
|
||||||
"description": "привилегия на определённое количество генераций",
|
"description": "привилегия на определённое количество генераций",
|
||||||
"type": "count",
|
"type": "count",
|
||||||
"price": 0.1
|
"pricePerUnit": 0.1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"serviceKey": "squiz",
|
"serviceKey": "squiz",
|
||||||
@ -47,7 +47,7 @@ export const exampleCartValues: ExampleCartValues = {
|
|||||||
"privilegeId": "p3",
|
"privilegeId": "p3",
|
||||||
"description": "привилегия безлимитного доступа к опроснику. в днях",
|
"description": "привилегия безлимитного доступа к опроснику. в днях",
|
||||||
"type": "day",
|
"type": "day",
|
||||||
"price": 3.0
|
"pricePerUnit": 3.0
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"serviceKey": "squiz",
|
"serviceKey": "squiz",
|
||||||
@ -55,7 +55,7 @@ export const exampleCartValues: ExampleCartValues = {
|
|||||||
"privilegeId": "p4",
|
"privilegeId": "p4",
|
||||||
"description": "привилегия создания ограниченного количества опросов",
|
"description": "привилегия создания ограниченного количества опросов",
|
||||||
"type": "count",
|
"type": "count",
|
||||||
"price": 1.0
|
"pricePerUnit": 1.0
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"serviceKey": "dwarfener",
|
"serviceKey": "dwarfener",
|
||||||
@ -63,7 +63,7 @@ export const exampleCartValues: ExampleCartValues = {
|
|||||||
"privilegeId": "p5",
|
"privilegeId": "p5",
|
||||||
"description": "привилегия безлимитного доступа к сокращателю на время. в днях",
|
"description": "привилегия безлимитного доступа к сокращателю на время. в днях",
|
||||||
"type": "day",
|
"type": "day",
|
||||||
"price": 0.1
|
"pricePerUnit": 0.1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"serviceKey": "dwarfener",
|
"serviceKey": "dwarfener",
|
||||||
@ -71,7 +71,7 @@ export const exampleCartValues: ExampleCartValues = {
|
|||||||
"privilegeId": "p6",
|
"privilegeId": "p6",
|
||||||
"description": "привилегия на количество активных ссылок в абтестах",
|
"description": "привилегия на количество активных ссылок в абтестах",
|
||||||
"type": "count",
|
"type": "count",
|
||||||
"price": 0.7
|
"pricePerUnit": 0.7
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"serviceKey": "dwarfener",
|
"serviceKey": "dwarfener",
|
||||||
@ -79,7 +79,7 @@ export const exampleCartValues: ExampleCartValues = {
|
|||||||
"privilegeId": "p7",
|
"privilegeId": "p7",
|
||||||
"description": "привилегия расширенной статистики, в днях",
|
"description": "привилегия расширенной статистики, в днях",
|
||||||
"type": "day",
|
"type": "day",
|
||||||
"price": 2
|
"pricePerUnit": 2
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"discounts": [
|
"discounts": [
|
||||||
|
Loading…
Reference in New Issue
Block a user