Permalink
Browse files

Randomise board description

Random length and content of board description is pretty useful especially when testing layouts

Signed-off-by: Shitiz Garg <mail@dragooon.net>
1 parent 9ec97d1 commit a81be07929c64f539600452ab1bcc4070a4a4a56 @Dragooon Dragooon committed Aug 13, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 Populate.php
View
@@ -112,7 +112,7 @@ private function makeBoards ()
{
$boardOptions = array(
'board_name' => 'Board Number ' . ++$this->counters['boards']['current'],
- 'board_description' => 'I am a sample description...',
+ 'board_description' => trim($this->loremIpsum->getContent(mt_rand(5, 30), 'txt')),
'target_category' => mt_rand(1, $this->counters['categories']['current']),
'move_to' => 'top',
);

0 comments on commit a81be07

Please sign in to comment.