From d282bbca3be6e2ade642854ab478b804a61a29a7 Mon Sep 17 00:00:00 2001 From: Baptiste Lemoine Date: Tue, 5 Nov 2019 17:23:21 +0100 Subject: [PATCH] :zap: fixture with custom link --- src/DataFixtures/AppPollFixtures.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/DataFixtures/AppPollFixtures.php b/src/DataFixtures/AppPollFixtures.php index 26c17d2..1e09a55 100644 --- a/src/DataFixtures/AppPollFixtures.php +++ b/src/DataFixtures/AppPollFixtures.php @@ -51,6 +51,7 @@ class AppPollFixtures extends Fixture { $poll->setModificationPolicy( 'everybody' ); $poll->setDescription( 'description du sondage' ); $poll->setAdminKey( 'dskjfsfdljkdsjlkdsfkjdsjdlkfs' ); + $poll->setCustomUrl( 'boudoum_podom_podom' ); $poll->setCreationDate( new \DateTime() ); $poll->setExpiracyDate( new \DateTime() ); $poll->setMailOnComment( true );