diff options
Diffstat (limited to 'internal/api/wellknown/webfinger/webfinger_test.go')
| -rw-r--r-- | internal/api/wellknown/webfinger/webfinger_test.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/internal/api/wellknown/webfinger/webfinger_test.go b/internal/api/wellknown/webfinger/webfinger_test.go index 234c1ad16..d6521aff0 100644 --- a/internal/api/wellknown/webfinger/webfinger_test.go +++ b/internal/api/wellknown/webfinger/webfinger_test.go @@ -50,7 +50,6 @@ type WebfingerStandardTestSuite struct { // standard suite models testTokens map[string]*gtsmodel.Token - testClients map[string]*gtsmodel.Client testApplications map[string]*gtsmodel.Application testUsers map[string]*gtsmodel.User testAccounts map[string]*gtsmodel.Account @@ -63,7 +62,6 @@ type WebfingerStandardTestSuite struct { func (suite *WebfingerStandardTestSuite) SetupSuite() { suite.testTokens = testrig.NewTestTokens() - suite.testClients = testrig.NewTestClients() suite.testApplications = testrig.NewTestApplications() suite.testUsers = testrig.NewTestUsers() suite.testAccounts = testrig.NewTestAccounts() @@ -102,7 +100,7 @@ func (suite *WebfingerStandardTestSuite) SetupTest() { suite.mediaManager, ) suite.webfingerModule = webfinger.New(suite.processor) - suite.oauthServer = testrig.NewTestOauthServer(suite.db) + suite.oauthServer = testrig.NewTestOauthServer(&suite.state) testrig.StandardDBSetup(suite.db, suite.testAccounts) testrig.StandardStorageSetup(suite.storage, "../../../../testrig/media") } |
