diff --git a/internal/processing/account/update_test.go b/internal/processing/account/update_test.go index 45c478863..674502b75 100644 --- a/internal/processing/account/update_test.go +++ b/internal/processing/account/update_test.go @@ -352,6 +352,10 @@ func (suite *AccountUpdateTestSuite) TestAccountUpdateBotNotBot() { // Returned profile should be updated. suite.True(apiAccount.Bot) + // We should have an update in the client api channel. + msg, _ := suite.getClientMsg(5 * time.Second) + suite.NotNil(msg) + // Check database model of account as well. dbAccount, err := suite.db.GetAccountByID(ctx, testAccount.ID) if err != nil { @@ -374,6 +378,10 @@ func (suite *AccountUpdateTestSuite) TestAccountUpdateBotNotBot() { // Returned profile should be updated. suite.False(apiAccount.Bot) + // We should have an update in the client api channel. + msg, _ = suite.getClientMsg(5 * time.Second) + suite.NotNil(msg) + // Check database model of account as well. dbAccount, err = suite.db.GetAccountByID(ctx, testAccount.ID) if err != nil {