mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-01 12:52:26 -05:00
test fix
This commit is contained in:
parent
4293897c04
commit
67b545ef75
1 changed files with 1 additions and 1 deletions
|
|
@ -99,7 +99,7 @@ func (suite *InternalToASTestSuite) TestAccountToASBot() {
|
||||||
*testAccount = *suite.testAccounts["local_account_1"] // take zork for this test
|
*testAccount = *suite.testAccounts["local_account_1"] // take zork for this test
|
||||||
|
|
||||||
// Update zork to be a bot.
|
// 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 {
|
if err := suite.state.DB.UpdateAccount(context.Background(), testAccount); err != nil {
|
||||||
suite.FailNow(err.Error())
|
suite.FailNow(err.Error())
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue