Skip to content

Commit 48251c5

Browse files
[SELC-6879] Fixed integration tests so that they are not based on the order of the elements (#76)
1 parent f0e4aeb commit 48251c5

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

apps/institution-ms/app/src/test/resources/blobStorageInit/initAzurite.sh

100644100755
File mode changed.

apps/institution-ms/app/src/test/resources/features/delegation.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -526,8 +526,8 @@ Feature: Delegation
526526
Then The status code is 200
527527
And The response body contains the list "" of size 1
528528
And The response body contains at path "" the following list of objects in any order:
529-
| id | institutionId | institutionName | institutionRootName | type | productId | taxCode | institutionType | brokerId | brokerTaxCode | brokerType | brokerName | status |
530-
| 31d012c6-e7cf-4900-a243-b72bf416c522 | bf4dcdb6-f223-4996-bfbc-326b119dd101 | Comune di Assisi | | EA | prod-io | 00313820540 | PA | cdaa3a10-8e4e-46ae-a365-c31a3f22b267 | 00017561486 | PT | NTT Data | ACTIVE |
529+
| institutionId | institutionName | status |
530+
| bf4dcdb6-f223-4996-bfbc-326b119dd101 | Comune di Assisi | ACTIVE |
531531

532532
Scenario: Not found delegations
533533
Given User login with username "j.doe" and password "test"

apps/institution-ms/app/src/test/resources/features/delegationV2.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ Feature: DelegationV2
3232
Then The status code is 200
3333
And The response body contains the list "delegations" of size 1
3434
And The response body contains at path "delegations" the following list of objects in any order:
35-
| id | institutionId | institutionName | institutionRootName | type | productId | taxCode | institutionType | brokerId | brokerTaxCode | brokerType | brokerName | status |
36-
| 31d012c6-e7cf-4900-a243-b72bf416c522 | bf4dcdb6-f223-4996-bfbc-326b119dd101 | Comune di Assisi | | EA | prod-io | 00313820540 | PA | cdaa3a10-8e4e-46ae-a365-c31a3f22b267 | 00017561486 | PT | NTT Data | ACTIVE |
35+
| institutionId | institutionName | status |
36+
| bf4dcdb6-f223-4996-bfbc-326b119dd101 | Comune di Assisi | ACTIVE |
3737
And The response body contains:
3838
| pageInfo.totalElements | 11 |
3939
| pageInfo.totalPages | 2 |

0 commit comments

Comments
 (0)