[PLUGIN][ActivityPub][Test] Activity: Create Page

Fixed a couple of bugs
This commit is contained in:
2022-03-19 22:21:15 +00:00
parent 6955872e05
commit 2f7fdf6ee4
9 changed files with 150 additions and 94 deletions

View File

@@ -50,7 +50,7 @@ class GSObjectNoteTest extends GNUsocialTestCase
static::assertFalse($note->getIsLocal());
static::assertSame(VisibilityScope::EVERYWHERE, $note->getScope());
static::assertSame($object_uri, $note->getUrl());
static::assertNull($note->getLanguageId());
static::assertSame('en', $note->getLanguageLocale());
static::assertSame('note', $note->getType());
static::assertNull($note->getTitle());
@@ -83,7 +83,7 @@ class GSObjectNoteTest extends GNUsocialTestCase
static::assertFalse($note->getIsLocal());
static::assertSame(VisibilityScope::EVERYWHERE, $note->getScope());
static::assertSame($object_uri, $note->getUrl());
static::assertNull($note->getLanguageId());
static::assertSame('en', $note->getLanguageLocale());
static::assertSame('note', $note->getType());
static::assertNull($note->getTitle());