[WIP] Add forgotten utf8 spec

This commit is contained in:
Andrey Mayorov 2018-07-06 12:03:57 +03:00
parent 11dbc3f3b6
commit f7e07775e9
2 changed files with 9 additions and 9 deletions

View File

@ -37,7 +37,7 @@ currency(?cur(<<"RUB">> = SymCode) = Ref) ->
{currency, #domain_CurrencyObject{
ref = Ref,
data = #domain_Currency{
name = <<"Яussian Яuble">>,
name = <<"Яussian Яuble"/utf8>>,
numeric_code = 643,
symbolic_code = SymCode,
exponent = 2
@ -228,7 +228,7 @@ globals(EASRef, PIRefs) ->
dmsl_accounter_thrift:'AccountID'().
account(SymCode, C) ->
Client = maps:get('accounter', ct_helper:cfg(services, C)),
Client = ff_woody_client:new(maps:get('accounter', ct_helper:cfg(services, C))),
WoodyCtx = ct_helper:get_woody_ctx(C),
Prototype = #accounter_AccountPrototype{
currency_sym_code = SymCode,

View File

@ -13,17 +13,17 @@ rus_domestic_passport(C) ->
#identdocstore_RussianDomesticPassport{
series = <<"1234">>,
number = <<"567890">>,
issuer = <<"Чаржбекистон УВД">>,
issuer = <<"Чаржбекистон УВД"/utf8>>,
issuer_code = <<"012345">>,
issued_at = <<"2012-12-22T12:42:11Z">>,
family_name = <<"Котлетка">>,
first_name = <<"С">>,
patronymic = <<"Пюрешкой">>,
family_name = <<"Котлетка"/utf8>>,
first_name = <<"С"/utf8>>,
patronymic = <<"Пюрешкой"/utf8>>,
birth_date = <<"1972-03-12T00:00:00Z">>,
birth_place = <<"Чаржбечхала">>
birth_place = <<"Чаржбечхала"/utf8>>
}
},
Client = maps:get('identdocstore', ct_helper:cfg(services, C)),
Client = ff_woody_client:new(maps:get('identdocstore', ct_helper:cfg(services, C))),
WoodyCtx = ct_helper:get_woody_ctx(C),
Request = {{identdocstore_identity_document_storage_thrift, 'IdentityDocumentStorage'}, 'Put', [Document]},
case woody_client:call(Request, Client, WoodyCtx) of
@ -38,7 +38,7 @@ rus_retiree_insurance_cert(Number, C) ->
number = Number
}
},
Client = maps:get('identdocstore', ct_helper:cfg(services, C)),
Client = ff_woody_client:new(maps:get('identdocstore', ct_helper:cfg(services, C))),
WoodyCtx = ct_helper:get_woody_ctx(C),
Request = {{identdocstore_identity_document_storage_thrift, 'IdentityDocumentStorage'}, 'Put', [Document]},
case woody_client:call(Request, Client, WoodyCtx) of