startdate; $end = clone $reminder->enddate; $this->assertCount(1, Reminder::dateIs($start, $end)->get()); } public function testUser() { $user = f::create('User'); $reminder = f::create('Reminder'); $reminder->user_id = $user->id; $reminder->save(); $this->assertEquals($reminder->user->id, $user->id); } }