mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-30 22:52: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
				
			
		|  | @ -25,6 +25,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/processing" | ||||
| 	"github.com/superseriousbusiness/gotosocial/internal/processing/common" | ||||
|  | @ -116,6 +117,7 @@ func (suite *StatusStandardTestSuite) SetupTest() { | |||
| 			&suite.state, | ||||
| 			suite.federator, | ||||
| 		), | ||||
| 		&httpclient.Client{}, | ||||
| 	) | ||||
| 
 | ||||
| 	testrig.StandardDBSetup(suite.db, suite.testAccounts) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue