mirror of
				https://github.com/go-gitea/gitea
				synced 2025-10-31 19:38:23 +00:00 
			
		
		
		
	Remove unused param doer (#34545)
				
					
				
			This commit is contained in:
		| @@ -281,7 +281,7 @@ func TestIncludesAllRepositoriesTeams(t *testing.T) { | ||||
| 	} | ||||
|  | ||||
| 	// Remove repo and check teams repositories. | ||||
| 	assert.NoError(t, repo_service.DeleteRepositoryDirectly(db.DefaultContext, user, repoIDs[0]), "DeleteRepository") | ||||
| 	assert.NoError(t, repo_service.DeleteRepositoryDirectly(db.DefaultContext, repoIDs[0]), "DeleteRepository") | ||||
| 	teamRepos[0] = repoIDs[1:] | ||||
| 	teamRepos[1] = repoIDs[1:] | ||||
| 	teamRepos[3] = repoIDs[1:3] | ||||
| @@ -293,7 +293,7 @@ func TestIncludesAllRepositoriesTeams(t *testing.T) { | ||||
| 	// Wipe created items. | ||||
| 	for i, rid := range repoIDs { | ||||
| 		if i > 0 { // first repo already deleted. | ||||
| 			assert.NoError(t, repo_service.DeleteRepositoryDirectly(db.DefaultContext, user, rid), "DeleteRepository %d", i) | ||||
| 			assert.NoError(t, repo_service.DeleteRepositoryDirectly(db.DefaultContext, rid), "DeleteRepository %d", i) | ||||
| 		} | ||||
| 	} | ||||
| 	assert.NoError(t, DeleteOrganization(db.DefaultContext, org, false), "DeleteOrganization") | ||||
|   | ||||
		Reference in New Issue
	
	Block a user