From 66b1761738974a1c2e14b4eed1ab786968133916 Mon Sep 17 00:00:00 2001 From: Anthony Wang Date: Fri, 10 Jun 2022 13:28:50 -0500 Subject: [PATCH] Fix lint error --- integrations/api_activitypub_person_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integrations/api_activitypub_person_test.go b/integrations/api_activitypub_person_test.go index 2599b381ca..818793d4a4 100644 --- a/integrations/api_activitypub_person_test.go +++ b/integrations/api_activitypub_person_test.go @@ -85,7 +85,7 @@ func TestActivityPubPersonInbox(t *testing.T) { setting.AppURL = appURL }() username1 := "user1" - ctx := context.Context() + ctx := context.Background() user1, err := user_model.GetUserByName(ctx, username1) assert.NoError(t, err) user1url := fmt.Sprintf("%s/api/v1/activitypub/user/%s#main-key", srv.URL, username1)