diff options
author | 2025-01-23 17:18:23 +0000 | |
---|---|---|
committer | 2025-01-23 18:18:23 +0100 | |
commit | 9333bbc4d0d5ae46c72fca1f5b1aacb3c0a7653e (patch) | |
tree | e7ccd1dc3abff5386e0b86e6baf659c9aa3b55a5 /internal/federation/federator_test.go | |
parent | [feature] Add warning about `trusted-proxies` to make config easier (#3675) (diff) | |
download | gotosocial-9333bbc4d0d5ae46c72fca1f5b1aacb3c0a7653e.tar.xz |
[feature] Serve bot accounts over AP as Service instead of Person (#3672)
* pepis
* oopsie doopsie
* bollocks
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() |