From de0c35d5a610d4565e39cd6e36e8a772da04e468 Mon Sep 17 00:00:00 2001 From: Hugo Sales Date: Wed, 5 May 2021 13:37:43 +0000 Subject: [PATCH] [TOOLS][TESTS] Add a data fixture with example notes, for testing --- src/DataFixtures/NoteFixtures.php | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/DataFixtures/NoteFixtures.php diff --git a/src/DataFixtures/NoteFixtures.php b/src/DataFixtures/NoteFixtures.php new file mode 100644 index 0000000000..ec1f775e6c --- /dev/null +++ b/src/DataFixtures/NoteFixtures.php @@ -0,0 +1,16 @@ +persist(Note::create(['gsactor_id' => 1, 'content' => 'some content'])); + $manager->flush(); + } +}