diff options
Diffstat (limited to 'internal/federation/federator_test.go')
-rw-r--r-- | internal/federation/federator_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/federation/federator_test.go b/internal/federation/federator_test.go index e10c7576c..a4f8c4683 100644 --- a/internal/federation/federator_test.go +++ b/internal/federation/federator_test.go @@ -75,12 +75,12 @@ func (suite *FederatorStandardTestSuite) SetupTest() { // Ensure it's possible to deref // main key of foss satan. - fossSatanPerson, err := suite.typeconverter.AccountToAS(context.Background(), suite.testAccounts["remote_account_1"]) + fossSatanAS, err := suite.typeconverter.AccountToAS(context.Background(), suite.testAccounts["remote_account_1"]) if err != nil { suite.FailNow(err.Error()) } - suite.httpClient = testrig.NewMockHTTPClient(nil, "../../testrig/media", fossSatanPerson) + suite.httpClient = testrig.NewMockHTTPClient(nil, "../../testrig/media", fossSatanAS) suite.httpClient.TestRemotePeople = testrig.NewTestFediPeople() suite.httpClient.TestRemoteStatuses = testrig.NewTestFediStatuses() |