diff options
Diffstat (limited to 'internal/cache/account_test.go')
-rw-r--r-- | internal/cache/account_test.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/cache/account_test.go b/internal/cache/account_test.go index ff882cc3d..a6d3c6b7d 100644 --- a/internal/cache/account_test.go +++ b/internal/cache/account_test.go @@ -69,6 +69,10 @@ func (suite *AccountCacheTestSuite) TestAccountCache() { if account.URL != "" && !ok && !accountIs(account, check) { suite.Fail("Failed to fetch expected account with URL: %s", account.URL) } + check, ok = suite.cache.GetByUsernameDomain(account.Username, account.Domain) + if !ok && !accountIs(account, check) { + suite.Fail("Failed to fetch expected account with username/domain: %s/%s", account.Username, account.Domain) + } } } |