diff options
author | 2021-10-06 18:18:02 +0200 | |
---|---|---|
committer | 2021-10-06 18:18:02 +0200 | |
commit | 3dc7644ae6bdbfbae2e126896937e322247b5b33 (patch) | |
tree | 45487a241b439ce590863f68ea479d8dfd92ba28 /testrig/testmodels.go | |
parent | fix logs not working properly (#264) (diff) | |
download | gotosocial-3dc7644ae6bdbfbae2e126896937e322247b5b33.tar.xz |
Derive visibility fixes (#271)
* use pub public const
* don't error on no summary
* move extract visibility to separate function
* extract visibility test
* add addressable interface
Diffstat (limited to 'testrig/testmodels.go')
-rw-r--r-- | testrig/testmodels.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testrig/testmodels.go b/testrig/testmodels.go index 3f32b588d..8ed5054d1 100644 --- a/testrig/testmodels.go +++ b/testrig/testmodels.go @@ -1387,7 +1387,7 @@ func NewTestFediStatuses() map[string]vocab.ActivityStreamsNote { "", URLMustParse("https://unknown-instance.com/users/brand_new_person"), []*url.URL{ - URLMustParse("https://www.w3.org/ns/activitystreams#Public"), + URLMustParse(pub.PublicActivityPubIRI), }, []*url.URL{}, false, @@ -1401,7 +1401,7 @@ func NewTestFediStatuses() map[string]vocab.ActivityStreamsNote { "", URLMustParse("https://unknown-instance.com/users/brand_new_person"), []*url.URL{ - URLMustParse("https://www.w3.org/ns/activitystreams#Public"), + URLMustParse(pub.PublicActivityPubIRI), }, []*url.URL{}, false, |