From a3074662b80457db58c6d95e6886aae3b2822fd8 Mon Sep 17 00:00:00 2001 From: Hugo Sales Date: Sun, 14 Nov 2021 23:17:36 +0000 Subject: [PATCH] [TESTS] Remove 'reply_to' in note creation in data fixtures --- src/DataFixtures/CoreFixtures.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DataFixtures/CoreFixtures.php b/src/DataFixtures/CoreFixtures.php index 1f99952d2b..0ba09192a4 100644 --- a/src/DataFixtures/CoreFixtures.php +++ b/src/DataFixtures/CoreFixtures.php @@ -42,7 +42,7 @@ class CoreFixtures extends Fixture $n = Note::create(['actor_id' => $actors['taken_user']->getId(), 'content' => 'some content', 'content_type' => 'text/plain']); $manager->persist($n); $notes = []; - $notes[] = Note::create(['actor_id' => $actors['taken_user']->getId(), 'content' => 'some other content', 'reply_to' => $n->getId(), 'content_type' => 'text/plain']); + $notes[] = Note::create(['actor_id' => $actors['taken_user']->getId(), 'content' => 'some other content', 'content_type' => 'text/plain']); $notes[] = Note::create(['actor_id' => $actors['taken_user']->getId(), 'content' => 'private note', 'scope' => VisibilityScope::SUBSCRIBER, 'content_type' => 'text/plain']); $notes[] = $group_note = Note::create(['actor_id' => $actors['taken_user']->getId(), 'content' => 'group note', 'scope' => VisibilityScope::GROUP, 'content_type' => 'text/plain']); foreach ($notes as $note) {