Add comprehensive tests for new policy fields and combinations
Some checks failed
Go / build-and-release (push) Has been cancelled
Some checks failed
Go / build-and-release (push) Has been cancelled
Introduce tests to validate functionality for new policy fields, including `max_expiry_duration`, `protected_required`, `identifier_regex`, and `follows_whitelist_admins`. Also, cover combinations of new and existing fields to ensure compatibility and precedence rules are correctly enforced. bump to v0.31.2
This commit is contained in:
@@ -24,7 +24,7 @@ func TestKind3TagRoundTrip(t *testing.T) {
|
||||
["p", "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc"]
|
||||
],
|
||||
"content": "",
|
||||
"sig": "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
|
||||
"sig": "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
|
||||
}`
|
||||
|
||||
// 1. Unmarshal from JSON (simulates receiving from WebSocket)
|
||||
|
||||
Reference in New Issue
Block a user