The test in com.twilio.jwt.taskrouter.PolicyTest#testToJsonexpress non-deterministic behaviour and thus fail with nondex. The fix is adding the annotation JSONPropertyOrder and changing the order of the json attributes to ensure determinism.
Checklist
[x] I acknowledge that all my contributions will be made under the project's license
[x] I have made a material change to the repo (functionality, testing, spelling, grammar)
Fixes
The test in com.twilio.jwt.taskrouter.PolicyTest#testToJsonexpress non-deterministic behaviour and thus fail with nondex. The fix is adding the annotation JSONPropertyOrder and changing the order of the json attributes to ensure determinism.
Checklist
If you have questions, please file a support ticket, or create a GitHub Issue in this repository.