From 0f2de6394a1c52d47e326bb7d7d129a217ae4f6f Mon Sep 17 00:00:00 2001 From: Tobi Smethurst <31960611+tsmethurst@users.noreply.github.com> Date: Tue, 10 Aug 2021 13:32:39 +0200 Subject: Dereference remote replies (#132) * decided where to put reply dereferencing * fiddling with dereferencing threads * further adventures * tidy up some stuff * move dereferencing functionality * a bunch of refactoring * go fmt * more refactoring * bleep bloop * docs and linting * start implementing replies collection on gts side * fiddling around * allow dereferencing our replies * lint, fmt --- internal/cliactions/testrig/testrig.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/cliactions/testrig') diff --git a/internal/cliactions/testrig/testrig.go b/internal/cliactions/testrig/testrig.go index e2b97fe61..a7032825c 100644 --- a/internal/cliactions/testrig/testrig.go +++ b/internal/cliactions/testrig/testrig.go @@ -46,7 +46,7 @@ import ( var Start cliactions.GTSAction = func(ctx context.Context, _ *config.Config, log *logrus.Logger) error { c := testrig.NewTestConfig() dbService := testrig.NewTestDB() - testrig.StandardDBSetup(dbService) + testrig.StandardDBSetup(dbService, nil) router := testrig.NewTestRouter(dbService) storageBackend := testrig.NewTestStorage() testrig.StandardStorageSetup(storageBackend, "./testrig/media") @@ -59,7 +59,7 @@ var Start cliactions.GTSAction = func(ctx context.Context, _ *config.Config, log StatusCode: 200, Body: r, }, nil - })) + }), dbService) federator := testrig.NewTestFederator(dbService, transportController, storageBackend) processor := testrig.NewTestProcessor(dbService, storageBackend, federator) -- cgit v1.2.3