X-Git-Url: http://git.giacomolli.uk/onechat/blobdiff_plain/6b21fcf78372995c6d8130c63f2f8aa2609bf7fe..ddd0a50f7b801112376d7fb27bfd05d2fc26c2fd:/daemon_start_helper_test.go?ds=sidebyside diff --git a/daemon_start_helper_test.go b/daemon_start_helper_test.go index fd89b34..1952e77 100644 --- a/daemon_start_helper_test.go +++ b/daemon_start_helper_test.go @@ -30,7 +30,7 @@ func daemonStartTestWithBot(t *testing.T, server *ModelFake, bot *TelegramBot) s done := make(chan error) go func() { done <- daemonServe(ctx, listener, bot, func(notify func(Event)) (*TurnLoop, error) { - return newTurnLoop(agent, memory, client, clock.Now, notify) + return newTurnLoop(agent, memory, newTestSubagents(t), client, clock.Now, notify) }) }()