diff options
author | 2023-05-09 12:16:10 +0200 | |
---|---|---|
committer | 2023-05-09 11:16:10 +0100 | |
commit | 0e29f1f5bb68a48d9b837d7f4e0a16370734955b (patch) | |
tree | f08d203ec8ca8aeea728e5251b1dc3956524b4f4 /internal/typeutils/wrap_test.go | |
parent | [chore/performance] Make sender multiplier configurable (#1750) (diff) | |
download | gotosocial-0e29f1f5bb68a48d9b837d7f4e0a16370734955b.tar.xz |
[feature] Enable federation in/out of profile PropertyValue fields (#1722)
Co-authored-by: kim <grufwub@gmail.com>
Co-authored-by: kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com>
Diffstat (limited to 'internal/typeutils/wrap_test.go')
-rw-r--r-- | internal/typeutils/wrap_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/typeutils/wrap_test.go b/internal/typeutils/wrap_test.go index 2978a0251..46d28f5c4 100644 --- a/internal/typeutils/wrap_test.go +++ b/internal/typeutils/wrap_test.go @@ -23,7 +23,7 @@ import ( "testing" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/activity/streams" + "github.com/superseriousbusiness/gotosocial/internal/ap" ) type WrapTestSuite struct { @@ -40,7 +40,7 @@ func (suite *WrapTestSuite) TestWrapNoteInCreateIRIOnly() { suite.NoError(err) suite.NotNil(create) - createI, err := streams.Serialize(create) + createI, err := ap.Serialize(create) suite.NoError(err) bytes, err := json.MarshalIndent(createI, "", " ") @@ -68,7 +68,7 @@ func (suite *WrapTestSuite) TestWrapNoteInCreate() { suite.NoError(err) suite.NotNil(create) - createI, err := streams.Serialize(create) + createI, err := ap.Serialize(create) suite.NoError(err) bytes, err := json.MarshalIndent(createI, "", " ") |