Skip to content

Commit

Permalink
Restyled by prettier-yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits authored and jrhees-cae committed Feb 13, 2023
1 parent 30760d1 commit 334bf12
Showing 1 changed file with 44 additions and 7 deletions.
51 changes: 44 additions & 7 deletions src/app/tests/suites/DL_LockUnlock.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ tests:
- name: "CredentialRule"
value: 0

- label: "Create new PIN credential and associate it with lock/unlock user, with userIndex != credentialIndex"
- label:
"Create new PIN credential and associate it with lock/unlock user,
with userIndex != credentialIndex"
command: "SetCredential"
timedInteractionTimeoutMs: 10000
arguments:
Expand Down Expand Up @@ -132,11 +134,30 @@ tests:
event: "LockOperation"
response:
- values:
- value: { "LockOperationType": 1, "OperationSource": 7, "UserIndex": null, "Credentials": null }
- value:
{
"LockOperationType": 1,
"OperationSource": 7,
"UserIndex": null,
"Credentials": null,
}
- values:
- value: { "LockOperationType": 0, "OperationSource": 7, "UserIndex": null, "Credentials": null }
- value:
{
"LockOperationType": 0,
"OperationSource": 7,
"UserIndex": null,
"Credentials": null,
}
- values:
- value: { "LockOperationType": 1, "OperationSource": 7, "UserIndex": 1, "Credentials": [{ "CredentialType": 1, "CredentialIndex": 2 }] }
- value:
{
"LockOperationType": 1,
"OperationSource": 7,
"UserIndex": 1,
"Credentials":
[{ "CredentialType": 1, "CredentialIndex": 2 }],
}

- label: "Verify that lock state attribute value is set to Unlocked"
command: "readAttribute"
Expand All @@ -154,14 +175,30 @@ tests:
response:
error: FAILURE

- label: "Read the LockOperationError event list; verify null UserIndex and Credentials"
- label:
"Read the LockOperationError event list; verify null UserIndex and
Credentials"
command: "readEvent"
event: "LockOperationError"
response:
- values:
- value: { "LockOperationType": 1, "OperationSource": 7, "OperationError": 1, "UserIndex": null, "Credentials": null }
- value:
{
"LockOperationType": 1,
"OperationSource": 7,
"OperationError": 1,
"UserIndex": null,
"Credentials": null,
}
- values:
- value: { "LockOperationType": 0, "OperationSource": 7, "OperationError": 1, "UserIndex": null, "Credentials": null }
- value:
{
"LockOperationType": 0,
"OperationSource": 7,
"OperationError": 1,
"UserIndex": null,
"Credentials": null,
}

- label: "Verify that lock state attribute value is set to Unlocked"
command: "readAttribute"
Expand Down

0 comments on commit 334bf12

Please sign in to comment.