-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8172806
commit e36a098
Showing
20 changed files
with
445 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
aat/src/aat/resources/features/F-109 AccessTypeRoles/S-109.10.td.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"_guid_": "S-109.10", | ||
"title": "must return a negative response in an attempt to import a definition file with OrganisationalRoleName and GroupRoleName both are null", | ||
"specs": [ | ||
"an active profile in CCD", | ||
"with CCD-import role", | ||
"contains a definition file containing new Tab AccessTypeRoles with OrganisationalRoleName and GroupRoleName both are null" | ||
], | ||
"request": { | ||
"body": { | ||
"arrayInMap": [ | ||
{ | ||
"key": "file", | ||
"localFilePath": "uk/gov/hmcts/ccd/test_definitions/invalid/accesstyperoles/BEFTA_Master_Definition_AccessTypeRole_OrgRoleNameAndGroupRoleNameAreNull.xlsx" | ||
} | ||
] | ||
} | ||
}, | ||
"expectedResponse": { | ||
"_extends_": "Common_201_Response", | ||
"headers": { | ||
"Content-Encoding": "[[ANYTHING_PRESENT]]", | ||
"Content-Type": "application/json", | ||
"Content-Length": "[[ANYTHING_PRESENT]]" | ||
}, | ||
"body": { | ||
"__plainTextValue__": "Validation errors occurred importing the spreadsheet.- " | ||
} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
aat/src/aat/resources/features/F-109 AccessTypeRoles/S-109.11.td.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"_guid_": "S-109.11", | ||
"title": "must return a negative response in an attempt to import a definition file with CaseAssignedRoleField is null", | ||
"specs": [ | ||
"an active profile in CCD", | ||
"with CCD-import role", | ||
"contains a definition file containing new Tab AccessTypeRoles with CaseAssignedRoleField is null" | ||
], | ||
"request": { | ||
"body": { | ||
"arrayInMap": [ | ||
{ | ||
"key": "file", | ||
"localFilePath": "uk/gov/hmcts/ccd/test_definitions/invalid/accesstyperoles/BEFTA_Master_Definition_AccessTypeRole_CaseAssignedRoleFieldIsNull.xlsx" | ||
} | ||
] | ||
} | ||
}, | ||
"expectedResponse": { | ||
"_extends_": "Common_201_Response", | ||
"headers": { | ||
"Content-Encoding": "[[ANYTHING_PRESENT]]", | ||
"Content-Type": "application/json", | ||
"Content-Length": "[[ANYTHING_PRESENT]]" | ||
}, | ||
"body": { | ||
"__plainTextValue__": "Validation errors occurred importing the spreadsheet.- " | ||
} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
aat/src/aat/resources/features/F-109 AccessTypeRoles/S-109.12.td.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"_guid_": "S-109.12", | ||
"title": "must return a negative response in an attempt to import a definition file with GroupAccessEnabled is null", | ||
"specs": [ | ||
"an active profile in CCD", | ||
"with CCD-import role", | ||
"contains a definition file containing new Tab AccessTypeRoles with GroupAccessEnabled is null" | ||
], | ||
"request": { | ||
"body": { | ||
"arrayInMap": [ | ||
{ | ||
"key": "file", | ||
"localFilePath": "uk/gov/hmcts/ccd/test_definitions/invalid/accesstyperoles/BEFTA_Master_Definition_AccessTypeRole_GroupAccessEnabledIsNull.xlsx" | ||
} | ||
] | ||
} | ||
}, | ||
"expectedResponse": { | ||
"_extends_": "Common_201_Response", | ||
"headers": { | ||
"Content-Encoding": "[[ANYTHING_PRESENT]]", | ||
"Content-Type": "application/json", | ||
"Content-Length": "[[ANYTHING_PRESENT]]" | ||
}, | ||
"body": { | ||
"__plainTextValue__": "Validation errors occurred importing the spreadsheet.- " | ||
} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
aat/src/aat/resources/features/F-109 AccessTypeRoles/S-109.13.td.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"_guid_": "S-109.13", | ||
"title": "must return a negative response in an attempt to import a definition file with AccessMandatory is set to anything other than NULL/ Y/Yes/Y/True/N/No/F/False", | ||
"specs": [ | ||
"an active profile in CCD", | ||
"with CCD-import role", | ||
"contains a definition file containing new Tab AccessTypeRoles with AccessMandatory is set to anything other than NULL/ Y/Yes/Y/True/N/No/F/False" | ||
], | ||
"request": { | ||
"body": { | ||
"arrayInMap": [ | ||
{ | ||
"key": "file", | ||
"localFilePath": "uk/gov/hmcts/ccd/test_definitions/invalid/accesstyperoles/BEFTA_Master_Definition_AccessType_AccessManditoryIsInvalid.xlsx" | ||
} | ||
] | ||
} | ||
}, | ||
"expectedResponse": { | ||
"_extends_": "Common_201_Response", | ||
"headers": { | ||
"Content-Encoding": "[[ANYTHING_PRESENT]]", | ||
"Content-Type": "application/json", | ||
"Content-Length": "[[ANYTHING_PRESENT]]" | ||
}, | ||
"body": { | ||
"__plainTextValue__": "Validation errors occurred importing the spreadsheet.- " | ||
} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
aat/src/aat/resources/features/F-109 AccessTypeRoles/S-109.14.td.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"_guid_": "S-109.14", | ||
"title": "must return a negative response in an attempt to import a definition file with AccessDefault is set to anything other than NULL/ Y/Yes/Y/True/N/No/F/False", | ||
"specs": [ | ||
"an active profile in CCD", | ||
"with CCD-import role", | ||
"contains a definition file containing new Tab AccessTypeRoles with AccessDefault is set to anything other than NULL/ Y/Yes/Y/True/N/No/F/False" | ||
], | ||
"request": { | ||
"body": { | ||
"arrayInMap": [ | ||
{ | ||
"key": "file", | ||
"localFilePath": "uk/gov/hmcts/ccd/test_definitions/invalid/accesstyperoles/BEFTA_Master_Definition_AccessType_AccessDefaultIsInvalid.xlsx" | ||
} | ||
] | ||
} | ||
}, | ||
"expectedResponse": { | ||
"_extends_": "Common_201_Response", | ||
"headers": { | ||
"Content-Encoding": "[[ANYTHING_PRESENT]]", | ||
"Content-Type": "application/json", | ||
"Content-Length": "[[ANYTHING_PRESENT]]" | ||
}, | ||
"body": { | ||
"__plainTextValue__": "Validation errors occurred importing the spreadsheet.- " | ||
} | ||
} | ||
} |
Oops, something went wrong.