updated the TestAuthorize

This commit is contained in:
Alfred Kamanda 2024-10-03 11:42:41 +03:00
parent 73013f53bb
commit 0fa4a81826
Signed by: Alfred-mk
GPG Key ID: 7EA3D01708908703

View File

@ -892,7 +892,10 @@ func TestAuthorize(t *testing.T) {
{ {
name: "Test with pin that is not a 4 digit", name: "Test with pin that is not a 4 digit",
input: []byte("1235aqds"), input: []byte("1235aqds"),
expectedResult: resource.Result{}, expectedResult: resource.Result{
FlagReset: []uint32{flag_account_authorized},
FlagSet: []uint32{flag_incorrect_pin},
},
}, },
} }