test: minor refactoring of onticketkeycallback
The motivation for this commit is to make the the onticketkeycallback function more readable.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines