1
0
mirror of https://framagit.org/tykayn/date-poll-api synced 2023-08-25 08:23:11 +02:00

fixture with custom link

This commit is contained in:
Baptiste Lemoine 2019-11-05 17:23:21 +01:00
parent 452083c74c
commit d282bbca3b

View File

@ -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 );