From 10bb7b43609c898dcd553aa25b4f2b45fd08ab0d Mon Sep 17 00:00:00 2001 From: boreq Date: Wed, 15 Nov 2023 13:17:36 +0100 Subject: [PATCH] Remove an unused function --- internal/fixtures/fixtures.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/internal/fixtures/fixtures.go b/internal/fixtures/fixtures.go index 47ccc73..e670c6a 100644 --- a/internal/fixtures/fixtures.go +++ b/internal/fixtures/fixtures.go @@ -16,12 +16,6 @@ import ( "github.com/planetary-social/nos-crossposting-service/service/domain/sessions" ) -func Context(tb testing.TB) context.Context { - ctx, cancelFunc := context.WithCancel(context.Background()) - tb.Cleanup(cancelFunc) - return ctx -} - func somePrivateKeyHex() string { return nostr.GeneratePrivateKey() }