summaryrefslogtreecommitdiff
path: root/internal/federation/federatingdb/create_test.go
diff options
context:
space:
mode:
authorLibravatar kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com>2023-08-08 12:26:34 +0100
committerLibravatar GitHub <noreply@github.com>2023-08-08 12:26:34 +0100
commit3920bc87d1398893feda21f32e4f59129b2cc9cd (patch)
treeed5a6651e034fd551f03dcfcf42b9c61a796e001 /internal/federation/federatingdb/create_test.go
parent[chore] Update robots.txt, give chatgpt the middle finger (#2085) (diff)
downloadgotosocial-3920bc87d1398893feda21f32e4f59129b2cc9cd.tar.xz
[bugfix] don't accept unrelated statuses (#2078)
Co-authored-by: Daenney <daenney@users.noreply.github.com> Co-authored-by: tsmethurst <tobi.smethurst@protonmail.com>
Diffstat (limited to 'internal/federation/federatingdb/create_test.go')
-rw-r--r--internal/federation/federatingdb/create_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/federation/federatingdb/create_test.go b/internal/federation/federatingdb/create_test.go
index fa7aca0a2..6c18f5bd0 100644
--- a/internal/federation/federatingdb/create_test.go
+++ b/internal/federation/federatingdb/create_test.go
@@ -54,7 +54,7 @@ func (suite *CreateTestSuite) TestCreateNote() {
// status should have some expected values
suite.Equal(requestingAccount.ID, status.AccountID)
- suite.Equal("hey zork here's a new private note for you", status.Content)
+ suite.Equal("@the_mighty_zork@localhost:8080 hey zork here's a new private note for you", status.Content)
// status should be in the database
_, err = suite.db.GetStatusByID(context.Background(), status.ID)