Files
3x-ui/main_test.go
T
n0ctal 1793a9b8b4 feat(nodes): opt-in encryption at rest for the outbound node API token (#6186)
* node: encrypt outbound bearer token at rest

* fix(nodes): keep bearer tokens encrypted throughout

---------

Co-authored-by: n0ctal <293235942+n0ctal@users.noreply.github.com>
2026-08-15 16:48:50 +02:00

13 lines
238 B
Go

package main
import (
"strings"
"testing"
)
func TestCommandHelpListsEncryptTokens(t *testing.T) {
if help := commandHelp(); !strings.Contains(help, "encrypt-tokens") {
t.Fatalf("command help omits encrypt-tokens:\n%s", help)
}
}