diff options
author | 2024-01-20 12:45:43 +0100 | |
---|---|---|
committer | 2024-01-20 12:45:43 +0100 | |
commit | b2cacd6b0188f983d1b99f968dfa465a98c9f925 (patch) | |
tree | b8d18486b100e627721010c03355751e123e9d2e /internal/typeutils/astointernal_test.go | |
parent | [bugfix] Ensure domain block side effects skipped if allow in place (blocklis... (diff) | |
download | gotosocial-b2cacd6b0188f983d1b99f968dfa465a98c9f925.tar.xz |
[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
Diffstat (limited to 'internal/typeutils/astointernal_test.go')
-rw-r--r-- | internal/typeutils/astointernal_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |