diff options
| author | 2025-04-11 16:36:40 +0200 | |
|---|---|---|
| committer | 2025-04-11 15:36:40 +0100 | |
| commit | c8a780e12a8112a4d4cbe8ed72d241a382f73903 (patch) | |
| tree | b385a1d5e11a0de4a84bba01d44e2b2b75abff16 /internal/typeutils/internaltoas_test.go | |
| parent | [chore] Fix header insets (#3987) (diff) | |
| download | gotosocial-c8a780e12a8112a4d4cbe8ed72d241a382f73903.tar.xz | |
[bugfix] Fix setting bot on/off (#3986)
* [bugfix] Fix setting bot on/off
* read client messages in tests
* test fix
Diffstat (limited to 'internal/typeutils/internaltoas_test.go')
| -rw-r--r-- | internal/typeutils/internaltoas_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/typeutils/internaltoas_test.go b/internal/typeutils/internaltoas_test.go index 0db705ca7..7c05a14b8 100644 --- a/internal/typeutils/internaltoas_test.go +++ b/internal/typeutils/internaltoas_test.go @@ -99,7 +99,7 @@ func (suite *InternalToASTestSuite) TestAccountToASBot() { *testAccount = *suite.testAccounts["local_account_1"] // take zork for this test // Update zork to be a bot. - testAccount.ActorType = gtsmodel.AccountActorTypeService + testAccount.ActorType = gtsmodel.AccountActorTypeApplication if err := suite.state.DB.UpdateAccount(context.Background(), testAccount); err != nil { suite.FailNow(err.Error()) } @@ -155,7 +155,7 @@ func (suite *InternalToASTestSuite) TestAccountToASBot() { "published": "2022-05-20T11:09:18Z", "summary": "\u003cp\u003ehey yo this is my profile!\u003c/p\u003e", "tag": [], - "type": "Service", + "type": "Application", "url": "http://localhost:8080/@the_mighty_zork" }`, string(bytes)) } |
