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