diff --git a/internal/web/service/node_full_reconciliation_test.go b/internal/web/service/node_full_reconciliation_test.go index 3d1f54da2..7ae3cce0d 100644 --- a/internal/web/service/node_full_reconciliation_test.go +++ b/internal/web/service/node_full_reconciliation_test.go @@ -292,8 +292,10 @@ func TestNodeFullReconciliationExcludesRolledBackDetaches(t *testing.T) { const removedEmail = "removed@example.test" keep := model.Client{Email: "keep@example.test", Enable: true} initial := func(tag, email string, port int) *model.Inbound { - return &model.Inbound{Tag: tag, Port: port, Protocol: model.VLESS, Enable: true, - Settings: clientsSettings(t, []model.Client{keep, {Email: email, Enable: true}})} + return &model.Inbound{ + Tag: tag, Port: port, Protocol: model.VLESS, Enable: true, + Settings: clientsSettings(t, []model.Client{keep, {Email: email, Enable: true}}), + } } original := &runtime.TrafficSnapshot{Inbounds: []*model.Inbound{ initial(rejectedTag, rejectedEmail, 41010), initial(acceptedTag, removedEmail, 41011),