public function __construct() { parent::__construct(); $this->title = 'How To Use Test Fixtures'; $this->excerpt = 'Test fixtures are really helpful.'; $this->content = 'Just use fixtures. You will not regret it'; }
public function __construct() { parent::__construct(); $this->id = 1; $this->title = 'Unit Testing Is Gnarly'; $this->excerpt = 'A short summary.'; $this->content = 'This is post content'; $this->date = \DateTime::createFromFormat('m/d/Y', '06/20/1986'); }