Commit 7fe2f64b84f5affa2c2ac8177a52123acb635464
1 parent
68815b59
Set dateSigned field to apply change
Showing
2 changed files
with
5 additions
and
3 deletions
... | ... | @@ -1371,9 +1371,9 @@ Library openprocurement_client.utils |
1371 | 1371 | |
1372 | 1372 | |
1373 | 1373 | Застосувати зміну |
1374 | - [Arguments] ${username} ${contract_uaid} | |
1374 | + [Arguments] ${username} ${contract_uaid} ${dateSigned} | |
1375 | 1375 | ${internalid}= openprocurement_client.Отримати internal id по UAid для договору ${username} ${contract_uaid} |
1376 | - ${data}= Create Dictionary status=active | |
1376 | + ${data}= Create Dictionary status=active dateSigned=${dateSigned} | |
1377 | 1377 | ${data}= Create Dictionary data=${data} |
1378 | 1378 | ${changes}= Get variable value ${USERS.users['${username}'].changes} |
1379 | 1379 | ${change}= munchify ${changes[-1]} | ... | ... |
... | ... | @@ -190,9 +190,11 @@ Suite Teardown Test Suite Teardown |
190 | 190 | [Tags] ${USERS.users['${tender_owner}'].broker}: Редагування договору |
191 | 191 | ... tender_owner |
192 | 192 | ... ${USERS.users['${tender_owner}'].broker} |
193 | + ... apply_change | |
193 | 194 | [Teardown] Оновити LAST_MODIFICATION_DATE |
194 | 195 | [Setup] Дочекатись синхронізації з майданчиком ${tender_owner} |
195 | - Run As ${tender_owner} Застосувати зміну ${CONTRACT_UAID} | |
196 | + ${dateSigned}= create_fake_date | |
197 | + Run As ${tender_owner} Застосувати зміну ${CONTRACT_UAID} ${dateSigned} | |
196 | 198 | Set to dictionary ${USERS.users['${tender_owner}'].change_data.data} status=active |
197 | 199 | |
198 | 200 | ... | ... |
Please
register
or
login
to post a comment