mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-03 21:08:25 +00:00 
			
		
		
		
	Remove LogSQL from ActivityPub person test
Signed-off-by: Anthony Wang <ta180m@pm.me>
This commit is contained in:
		@@ -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"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user