chore(server): drop unnecessary int64 conversion in perms test

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LwtnpHAoSFr1ZibQgQkNQK
This commit is contained in:
Claude
2026-07-19 11:03:59 +00:00
parent 617c0daf86
commit 9e0268058f
+1 -1
View File
@@ -155,7 +155,7 @@ func TestPutChannelPermission_MasksUnknownBits(t *testing.T) {
}
// 0x4 and 0x8 are undefined bits — they must be dropped.
body := map[string]any{"allow": 0x4 | int64(permissions.SendMessages), "deny": 0x8}
body := map[string]any{"allow": 0x4 | permissions.SendMessages, "deny": 0x8}
w := doRequest(t, handler, http.MethodPut,
"/channels/"+itoa(chID)+"/permissions/3", token, body)
if w.Code != http.StatusOK {