diff --git a/agent/cache-types/service_dump_test.go b/agent/cache-types/service_dump_test.go index 9da7f0facd..0f49c965fa 100644 --- a/agent/cache-types/service_dump_test.go +++ b/agent/cache-types/service_dump_test.go @@ -24,7 +24,7 @@ func TestInternalServiceDump(t *testing.T) { require.Equal(t, 1*time.Second, req.QueryOptions.MaxQueryTime) require.True(t, req.AllowStale) - reply := args.Get(2).(*structs.IndexedCheckServiceNodes) + reply := args.Get(2).(*structs.IndexedNodesWithGateways) reply.Nodes = []structs.CheckServiceNode{ {Service: &structs.NodeService{Kind: req.ServiceKind, Service: "foo"}}, }