LoadCommentsData fixture fix.
This commit is contained in:
parent
22784542bf
commit
24a173af16
|
@ -32,7 +32,7 @@ class LoadCommentsData extends AbstractFixture implements OrderedFixtureInterfac
|
||||||
->setNumber($num)
|
->setNumber($num)
|
||||||
->setDeleted(mt_rand(0, 15) ? false : true)
|
->setDeleted(mt_rand(0, 15) ? false : true)
|
||||||
->setCreatedAt(new \DateTime())
|
->setCreatedAt(new \DateTime())
|
||||||
->setAuthor(array_rand($users))
|
->setAuthor($users[array_rand($users)])
|
||||||
->setRec(false)
|
->setRec(false)
|
||||||
->setText(
|
->setText(
|
||||||
'Some text with [link to @skobkin-ru site](https://skobk.in/) and `code block`'.PHP_EOL.
|
'Some text with [link to @skobkin-ru site](https://skobk.in/) and `code block`'.PHP_EOL.
|
||||||
|
|
Loading…
Reference in a new issue