feat: remove unused client ID from config

This commit is contained in:
zarazaex69
2026-05-13 20:03:58 +03:00
parent d1cc68c64a
commit bcc6b2ee5c
22 changed files with 600 additions and 156 deletions

View File

@@ -83,7 +83,6 @@ func TestRunWithConfigValidationAndDataDirErrors(t *testing.T) {
Link: "direct",
Transport: "datachannel",
Auth: "jazz",
ClientID: "client",
KeyHex: "key",
DNSServer: "1.1.1.1:53",
}
@@ -113,7 +112,7 @@ func TestRunWithArgsSuccessfulSessionReturn(t *testing.T) {
called := false
runSession = func(ctx context.Context, cfg session.Config) error {
called = true
if cfg.Mode != "srv" || cfg.Auth != "jazz" || cfg.ClientID != "client" {
if cfg.Mode != "srv" || cfg.Auth != "jazz" {
t.Fatalf("session config = %+v", cfg)
}
select {
@@ -129,8 +128,6 @@ mode: srv
link: direct
auth:
provider: jazz
room:
client_id: client
crypto:
key: key
net: