mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 17:02:25 -05:00 
			
		
		
		
	tidy up some federation stuff
This commit is contained in:
		
					parent
					
						
							
								621e59fd42
							
						
					
				
			
			
				commit
				
					
						211c43073f
					
				
			
		
					 11 changed files with 199 additions and 86 deletions
				
			
		|  | @ -83,7 +83,7 @@ func (suite *ProtocolTestSuite) TestPostInboxRequestBodyHook() { | |||
| 		return nil, nil | ||||
| 	})) | ||||
| 	// setup module being tested | ||||
| 	federator := federation.NewFederator(suite.db, suite.log, suite.config, tc).(*federation.Federator) | ||||
| 	federator := federation.NewFederatingProtocol(suite.db, suite.log, suite.config, tc).(*federation.FederatingProtocol) | ||||
| 
 | ||||
| 	// setup request | ||||
| 	ctx := context.Background() | ||||
|  | @ -156,7 +156,7 @@ func (suite *ProtocolTestSuite) TestAuthenticatePostInbox() { | |||
| 	})) | ||||
| 
 | ||||
| 	// now setup module being tested, with the mock transport controller | ||||
| 	federator := federation.NewFederator(suite.db, suite.log, suite.config, tc) | ||||
| 	federator := federation.NewFederatingProtocol(suite.db, suite.log, suite.config, tc) | ||||
| 
 | ||||
| 	// setup request | ||||
| 	ctx := context.Background() | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue