mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-08-25 22:17:48 +02:00
Fix lint error
This commit is contained in:
parent
7428ff0736
commit
66b1761738
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue