Skip to content

Commit

Permalink
[CI] Fix various typos in various tests (#2 attempt) (#24572)
Browse files Browse the repository at this point in the history
  • Loading branch information
vivien-apple authored and pull[bot] committed Nov 12, 2023
1 parent 1258d4c commit 2372291
Show file tree
Hide file tree
Showing 24 changed files with 2,008 additions and 2,008 deletions.
66 changes: 33 additions & 33 deletions src/app/tests/suites/DL_LockUnlock.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,25 +53,25 @@ tests:
timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "operationType"
- name: "OperationType"
value: 0
- name: "credential"
- name: "Credential"
value: { CredentialType: 1, CredentialIndex: 1 }
- name: "credentialData"
- name: "CredentialData"
value: "123456"
- name: "userIndex"
- name: "UserIndex"
value: null
- name: "userStatus"
- name: "UserStatus"
value: null
- name: "userType"
- name: "UserType"
value: null
response:
values:
- name: "status"
- name: "Status"
value: 0x00
- name: "userIndex"
- name: "UserIndex"
value: 1
- name: "nextCredentialIndex"
- name: "NextCredentialIndex"
value: 2

- label:
Expand All @@ -87,7 +87,7 @@ tests:
timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "pinCode"
- name: "PINCode"
value: "000000"
response:
error: FAILURE
Expand All @@ -103,7 +103,7 @@ tests:
timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "pinCode"
- name: "PINCode"
value: "123456"

- label: "Verify that lock state attribute value is set to Unlocked"
Expand All @@ -117,7 +117,7 @@ tests:
timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "pinCode"
- name: "PINCode"
value: "000000"
response:
error: FAILURE
Expand All @@ -133,7 +133,7 @@ tests:
timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "pinCode"
- name: "PINCode"
value: "123456"

- label: "Verify that lock state attribute value is set to Locked"
Expand Down Expand Up @@ -177,7 +177,7 @@ tests:
timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "pinCode"
- name: "PINCode"
value: "000000"
response:
error: FAILURE
Expand All @@ -187,7 +187,7 @@ tests:
timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "pinCode"
- name: "PINCode"
value: "000000"
response:
error: FAILURE
Expand All @@ -197,7 +197,7 @@ tests:
timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "pinCode"
- name: "PINCode"
value: "000000"
response:
error: FAILURE
Expand All @@ -209,7 +209,7 @@ tests:
timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "pinCode"
- name: "PINCode"
value: "123456"
response:
error: FAILURE
Expand All @@ -229,7 +229,7 @@ tests:
timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "pinCode"
- name: "PINCode"
value: "123456"

- label: "Verify that lock state attribute value is set to Unlocked"
Expand All @@ -243,41 +243,41 @@ tests:
timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "pinCode"
- name: "PINCode"
value: "123456"

- label: "Create a disabled user and credential"
command: "SetCredential"
timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "operationType"
- name: "OperationType"
value: 0
- name: "credential"
- name: "Credential"
value: { CredentialType: 1, CredentialIndex: 2 }
- name: "credentialData"
- name: "CredentialData"
value: "654321"
- name: "userIndex"
- name: "UserIndex"
value: null
- name: "userStatus"
- name: "UserStatus"
value: 3
- name: "userType"
- name: "UserType"
value: null
response:
values:
- name: "status"
- name: "Status"
value: 0x00
- name: "userIndex"
- name: "UserIndex"
value: 2
- name: "nextCredentialIndex"
- name: "NextCredentialIndex"
value: 3

- label: "Try to unlock the door with disabled user PIN"
command: "UnlockDoor"
timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "pinCode"
- name: "PINCode"
value: "654321"
response:
error: FAILURE
Expand All @@ -293,7 +293,7 @@ tests:
timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "pinCode"
- name: "PINCode"
value: "123456"

- label: "Verify that lock state attribute value is set to Unlocked"
Expand All @@ -307,7 +307,7 @@ tests:
timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "pinCode"
- name: "PINCode"
value: "654321"
response:
error: FAILURE
Expand All @@ -323,7 +323,7 @@ tests:
timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "pinCode"
- name: "PINCode"
value: "123456"

- label: "Verify that lock state attribute value is set to Locked"
Expand All @@ -339,5 +339,5 @@ tests:
timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "userIndex"
- name: "UserIndex"
value: 0xFFFE
Loading

0 comments on commit 2372291

Please sign in to comment.