null check description

This commit is contained in:
Rechee Jozil
2020-02-01 11:08:06 -08:00
parent 2e64da4cac
commit 66b4c48d92
5 changed files with 6 additions and 6 deletions

View File

@@ -226,7 +226,7 @@ public class HabitListTest extends BaseUnitTest
Habit h2 = fixtures.createEmptyHabit();
h2.setName("Wake up early");
h2.setQuestion("Did you wake up before 6am?");
h2.setDescription(null);
h2.setDescription("");
h2.setFrequency(new Frequency(2, 3));
h2.setColor(5);