public function startup() { $this->user = User::create(array('firstname' => 'Simon', 'email' => '*****@*****.**')); $this->event = Event::create(array('name' => 'The Red Wedding', 'uid' => $this->user->uid, 'location' => 'Winnipeg')); $this->lastPoll = Poll::max('pid'); }