function testUpdateIntervalDays() { $name = "Meditate"; $motivation = "Clarity"; $interval_days = 3; $id = 4; $completed = False; $test_habit = new Habit($name, $motivation, $interval_days, $completed, $id); $test_habit->save(); $new_interval_days = 12; $result = $test_habit->updateIntervalDays($new_interval_days); $this->assertEquals(12, $test_habit->getIntervalDays()); }