From b2cacd6b0188f983d1b99f968dfa465a98c9f925 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Sat, 20 Jan 2024 12:45:43 +0100 Subject: [bugfix] Prevent URL + URI for same account being used as alias target (#2545) * [bugfix] Ensure URL and URI for same account can't both be provided as alias * test whoopsie from previous PR --- internal/typeutils/astointernal_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/typeutils/astointernal_test.go') diff --git a/internal/typeutils/astointernal_test.go b/internal/typeutils/astointernal_test.go index 006a26fe7..84fdfd064 100644 --- a/internal/typeutils/astointernal_test.go +++ b/internal/typeutils/astointernal_test.go @@ -631,7 +631,7 @@ func (suite *ASToInternalTestSuite) TestParseHonkAccount() { // Clear caches. suite.state.Caches.GTS = cache.GTSCaches{} - suite.state.Caches.GTS.Init() + suite.state.Caches.Init() dbAcct, err = suite.db.GetAccountByID(ctx, acct.ID) if err != nil { -- cgit v1.2.3