mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 09:32:25 -05:00 
			
		
		
		
	Use httpclient.Client instead of standard net/http
This commit is contained in:
		
					parent
					
						
							
								d11efa1e2f
							
						
					
				
			
			
				commit
				
					
						c42c391094
					
				
			
		
					 12 changed files with 33 additions and 10 deletions
				
			
		|  | @ -30,6 +30,7 @@ import ( | |||
| 	"github.com/superseriousbusiness/gotosocial/internal/filter/interaction" | ||||
| 	"github.com/superseriousbusiness/gotosocial/internal/filter/visibility" | ||||
| 	"github.com/superseriousbusiness/gotosocial/internal/gtsmodel" | ||||
| 	"github.com/superseriousbusiness/gotosocial/internal/httpclient" | ||||
| 	"github.com/superseriousbusiness/gotosocial/internal/media" | ||||
| 	"github.com/superseriousbusiness/gotosocial/internal/oauth" | ||||
| 	"github.com/superseriousbusiness/gotosocial/internal/processing" | ||||
|  | @ -137,6 +138,7 @@ func (suite *ProcessingStandardTestSuite) SetupTest() { | |||
| 		testrig.NewNoopWebPushSender(), | ||||
| 		visibility.NewFilter(&suite.state), | ||||
| 		interaction.NewFilter(&suite.state), | ||||
| 		&httpclient.Client{}, // TODO: check if we need to replace it here | ||||
| 	) | ||||
| 	testrig.StartWorkers(&suite.state, suite.processor.Workers()) | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue