1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-04-09 07:14:16 +02:00

Преобразование OPI -> OInt (workflow)

This commit is contained in:
Vitaly the Alpaca 2024-06-11 19:46:16 +00:00 committed by Vitaly the Alpaca (bot)
parent c5d4b9edcb
commit a967091468
4 changed files with 325 additions and 316 deletions

File diff suppressed because it is too large Load Diff

View File

@ -3684,7 +3684,10 @@ EndProcedure
Procedure Check_BitrixTime(Val Result)
Time = Result["result"];
Time = XMLValue(Type("Date"), Time);
If Not TypeOf(Time) = Type("Date") Then
Time = XMLValue(Type("Date"), Time);
EndIf;
OPI_TestDataRetrieval.ExpectsThat(Time).ИмеетТип("Date").Заполнено();

View File

@ -3684,7 +3684,10 @@ EndProcedure
Procedure Check_BitrixTime(Val Result)
Time = Result["result"];
Time = XMLValue(Type("Date"), Time);
If Not TypeOf(Time) = Type("Date") Then
Time = XMLValue(Type("Date"), Time);
EndIf;
OPI_TestDataRetrieval.ExpectsThat(Time).ИмеетТип("Date").Заполнено();

View File

@ -3684,7 +3684,10 @@
Процедура Проверка_БитриксВремя(Знач Результат)
Время = Результат["result"];
Время = XMLЗначение(Тип("Дата"), Время);
Если Не ТипЗнч(Время) = Тип("Дата") Тогда
Время = XMLЗначение(Тип("Дата"), Время);
КонецЕсли;
OPI_ПолучениеДанныхТестов.ОжидаетЧто(Время).ИмеетТип("Дата").Заполнено();