test(proxy): adopt the settings domain reshape in the full-chain test

The proxy module's realstack test seeds agent_network_settings directly
and was missed by the reshape sweep -- the only build failure CI's lint
and test jobs caught.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Brad Ison
2026-08-07 12:57:04 +02:00
parent e156ce521e
commit 79880dd320

View File

@@ -73,8 +73,8 @@ func TestReverseProxy_AgentNetworkRequest_FullChain(t *testing.T) {
testAdminUser = "user-admin-1"
adminGroupID = "grp-admins"
providerID = "prov-openai-test"
cluster = "test.proxy.local"
subdomain = "fullchain"
domain = "fullchain.test.proxy.local"
proxyAddress = "test.proxy.local"
)
testLogger := log.New()
testLogger.SetLevel(log.PanicLevel) // keep test output clean
@@ -127,8 +127,8 @@ func TestReverseProxy_AgentNetworkRequest_FullChain(t *testing.T) {
// increments on the response leg.
require.NoError(t, st.SaveAgentNetworkSettings(ctx, &agentNetworkTypes.Settings{
AccountID: testAccountID,
Cluster: cluster,
Subdomain: subdomain,
Domain: domain,
ProxyAddress: proxyAddress,
EnablePromptCollection: true,
EnableLogCollection: true,
RedactPii: true,