1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-27 19:14:27 +00:00

Remove LogSQL from ActivityPub person test

Signed-off-by: Anthony Wang <ta180m@pm.me>
This commit is contained in:
Anthony Wang 2022-03-20 10:09:46 -05:00
parent 456ed42d3e
commit d75809aeee
No known key found for this signature in database
GPG Key ID: BC96B00AEC5F2D76

View File

@ -26,10 +26,8 @@ import (
func TestActivityPubPerson(t *testing.T) { func TestActivityPubPerson(t *testing.T) {
onGiteaRun(t, func(*testing.T, *url.URL) { onGiteaRun(t, func(*testing.T, *url.URL) {
setting.Federation.Enabled = true setting.Federation.Enabled = true
setting.Database.LogSQL = true
defer func() { defer func() {
setting.Federation.Enabled = false setting.Federation.Enabled = false
setting.Database.LogSQL = false
}() }()
username := "user2" username := "user2"