diff options
Diffstat (limited to 'internal/db/bundb/account_test.go')
-rw-r--r-- | internal/db/bundb/account_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/db/bundb/account_test.go b/internal/db/bundb/account_test.go index bfe6df536..b410bb3ed 100644 --- a/internal/db/bundb/account_test.go +++ b/internal/db/bundb/account_test.go @@ -260,7 +260,7 @@ func (suite *AccountTestSuite) TestUpdateAccount() { } noCache := >smodel.Account{} - err = dbService.GetConn(). + err = dbService.DB(). NewSelect(). Model(noCache). Where("? = ?", bun.Ident("account.id"), testAccount.ID). @@ -288,7 +288,7 @@ func (suite *AccountTestSuite) TestUpdateAccount() { suite.Empty(updated.EmojiIDs) suite.WithinDuration(time.Now(), updated.UpdatedAt, 5*time.Second) - err = dbService.GetConn(). + err = dbService.DB(). NewSelect(). Model(noCache). Where("? = ?", bun.Ident("account.id"), testAccount.ID). |