mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 18:02:25 -05:00 
			
		
		
		
	[chore] fix testrig build
This commit is contained in:
		
					parent
					
						
							
								f7323c065a
							
						
					
				
			
			
				commit
				
					
						0361c7ceab
					
				
			
		
					 2 changed files with 1 additions and 3 deletions
				
			
		|  | @ -35,7 +35,6 @@ import ( | ||||||
| 	apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" | 	apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util" | ||||||
| 	"github.com/superseriousbusiness/gotosocial/internal/cleaner" | 	"github.com/superseriousbusiness/gotosocial/internal/cleaner" | ||||||
| 	"github.com/superseriousbusiness/gotosocial/internal/config" | 	"github.com/superseriousbusiness/gotosocial/internal/config" | ||||||
| 	"github.com/superseriousbusiness/gotosocial/internal/filter/visibility" |  | ||||||
| 	"github.com/superseriousbusiness/gotosocial/internal/gtserror" | 	"github.com/superseriousbusiness/gotosocial/internal/gtserror" | ||||||
| 	"github.com/superseriousbusiness/gotosocial/internal/language" | 	"github.com/superseriousbusiness/gotosocial/internal/language" | ||||||
| 	"github.com/superseriousbusiness/gotosocial/internal/log" | 	"github.com/superseriousbusiness/gotosocial/internal/log" | ||||||
|  | @ -154,7 +153,6 @@ var Start action.GTSAction = func(ctx context.Context) error { | ||||||
| 	emailSender := testrig.NewEmailSender("./web/template/", nil) | 	emailSender := testrig.NewEmailSender("./web/template/", nil) | ||||||
| 	webPushSender := testrig.NewWebPushMockSender() | 	webPushSender := testrig.NewWebPushMockSender() | ||||||
| 	typeConverter := typeutils.NewConverter(state) | 	typeConverter := typeutils.NewConverter(state) | ||||||
| 	filter := visibility.NewFilter(state) |  | ||||||
| 
 | 
 | ||||||
| 	processor := testrig.NewTestProcessor(state, federator, emailSender, webPushSender, mediaManager) | 	processor := testrig.NewTestProcessor(state, federator, emailSender, webPushSender, mediaManager) | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -18,13 +18,13 @@ | ||||||
| package lists_test | package lists_test | ||||||
| 
 | 
 | ||||||
| import ( | import ( | ||||||
|  | 	"bytes" | ||||||
| 	"context" | 	"context" | ||||||
| 	"fmt" | 	"fmt" | ||||||
| 	"io" | 	"io" | ||||||
| 	"net/http" | 	"net/http" | ||||||
| 	"net/http/httptest" | 	"net/http/httptest" | ||||||
| 	"testing" | 	"testing" | ||||||
| 	"bytes" |  | ||||||
| 
 | 
 | ||||||
| 	"github.com/stretchr/testify/suite" | 	"github.com/stretchr/testify/suite" | ||||||
| 	"github.com/superseriousbusiness/gotosocial/internal/api/client/lists" | 	"github.com/superseriousbusiness/gotosocial/internal/api/client/lists" | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue