summaryrefslogtreecommitdiff
path: root/testrig/testmodels.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2021-10-06 18:18:02 +0200
committerLibravatar GitHub <noreply@github.com>2021-10-06 18:18:02 +0200
commit3dc7644ae6bdbfbae2e126896937e322247b5b33 (patch)
tree45487a241b439ce590863f68ea479d8dfd92ba28 /testrig/testmodels.go
parentfix logs not working properly (#264) (diff)
downloadgotosocial-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.go4
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,