/**
* Populates the test DB with reference data
*/
- function __construct()
+ public function __construct()
{
$this->addLink(
'Link title: @website',
'Richard Stallman and the Free Software Revolution. Read this. #hashtag',
0,
'20150310_114633',
- 'free gnu software stallman -exclude stuff hashtag'
+ 'free gnu software stallman -exclude stuff hashtag',
+ '20160803_093033'
);
$this->addLink(
/**
* Adds a new link
*/
- protected function addLink($title, $url, $description, $private, $date, $tags)
+ protected function addLink($title, $url, $description, $private, $date, $tags, $updated = '')
{
$link = array(
'title' => $title,
'private' => $private,
'linkdate' => $date,
'tags' => $tags,
+ 'updated' => $updated,
);
$this->_links[$date] = $link;