mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 05:52:25 -05:00 
			
		
		
		
	remove references to old timeline types that needed starting up in tests
This commit is contained in:
		
					parent
					
						
							
								566e2b1d38
							
						
					
				
			
			
				commit
				
					
						e96bf44497
					
				
			
		
					 43 changed files with 38 additions and 364 deletions
				
			
		|  | @ -24,13 +24,11 @@ import ( | |||
| 	"github.com/superseriousbusiness/gotosocial/internal/db" | ||||
| 	"github.com/superseriousbusiness/gotosocial/internal/email" | ||||
| 	"github.com/superseriousbusiness/gotosocial/internal/federation" | ||||
| 	"github.com/superseriousbusiness/gotosocial/internal/filter/visibility" | ||||
| 	"github.com/superseriousbusiness/gotosocial/internal/gtsmodel" | ||||
| 	"github.com/superseriousbusiness/gotosocial/internal/media" | ||||
| 	"github.com/superseriousbusiness/gotosocial/internal/processing" | ||||
| 	"github.com/superseriousbusiness/gotosocial/internal/state" | ||||
| 	"github.com/superseriousbusiness/gotosocial/internal/storage" | ||||
| 	"github.com/superseriousbusiness/gotosocial/internal/typeutils" | ||||
| 	"github.com/superseriousbusiness/gotosocial/testrig" | ||||
| ) | ||||
| 
 | ||||
|  | @ -90,12 +88,6 @@ func (suite *ListsStandardTestSuite) SetupTest() { | |||
| 	suite.storage = testrig.NewInMemoryStorage() | ||||
| 	suite.state.Storage = suite.storage | ||||
| 
 | ||||
| 	testrig.StartTimelines( | ||||
| 		&suite.state, | ||||
| 		visibility.NewFilter(&suite.state), | ||||
| 		typeutils.NewConverter(&suite.state), | ||||
| 	) | ||||
| 
 | ||||
| 	suite.mediaManager = testrig.NewTestMediaManager(&suite.state) | ||||
| 	suite.federator = testrig.NewTestFederator(&suite.state, testrig.NewTestTransportController(&suite.state, testrig.NewMockHTTPClient(nil, "../../../../testrig/media")), suite.mediaManager) | ||||
| 	suite.emailSender = testrig.NewEmailSender("../../../../web/template/", nil) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue