kopia lustrzana https://github.com/snarfed/bridgy-fed
update tests for granary converting AS1 displayName to AS2 name
rodzic
f2fa44bfff
commit
c2a3444ba2
|
@ -39,7 +39,7 @@ class ActivityPubTest(testutil.TestCase):
|
|||
self.assertEquals({
|
||||
'@context': 'https://www.w3.org/ns/activitystreams',
|
||||
'type' : 'Person',
|
||||
'displayName': 'Mrs. ☕ Foo',
|
||||
'name': 'Mrs. ☕ Foo',
|
||||
'preferredUsername': 'me',
|
||||
'url': 'https://foo.com/about-me',
|
||||
'inbox': 'http://localhost/foo.com/inbox',
|
||||
|
|
|
@ -86,7 +86,7 @@ class WebmentionTest(testutil.TestCase):
|
|||
'type': 'Note',
|
||||
'id': 'http://a/reply',
|
||||
'url': 'http://a/reply',
|
||||
'displayName': 'foo ☕ bar',
|
||||
'name': 'foo ☕ bar',
|
||||
'content': ' <a class="u-in-reply-to" href="http://orig/post">foo ☕ bar</a> <a href="https://fed.brid.gy/"></a> ',
|
||||
'inReplyTo': 'http://orig/post',
|
||||
'cc': [
|
||||
|
@ -97,7 +97,7 @@ class WebmentionTest(testutil.TestCase):
|
|||
'type': 'Person',
|
||||
'url': 'http://orig',
|
||||
'preferredUsername': 'me',
|
||||
'displayName': 'Ms. ☕ Baz',
|
||||
'name': 'Ms. ☕ Baz',
|
||||
}],
|
||||
},
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue