From bdf26019e32c3b0042155c00a0bce16109550f54 Mon Sep 17 00:00:00 2001 From: gongg21 Date: Mon, 16 Oct 2023 17:53:44 +0800 Subject: [PATCH] Update test files --- .../java/seedu/address/testutil/StudentUtil.java | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/test/java/seedu/address/testutil/StudentUtil.java b/src/test/java/seedu/address/testutil/StudentUtil.java index b129d2501e3..854f77ce5e3 100644 --- a/src/test/java/seedu/address/testutil/StudentUtil.java +++ b/src/test/java/seedu/address/testutil/StudentUtil.java @@ -1,10 +1,5 @@ package seedu.address.testutil; -import static seedu.address.logic.parser.CliSyntax.PREFIX_COURSE; -import static seedu.address.logic.parser.CliSyntax.PREFIX_EMAIL; -import static seedu.address.logic.parser.CliSyntax.PREFIX_NAME; -import static seedu.address.logic.parser.CliSyntax.PREFIX_TAG; - import java.util.Set; import seedu.address.logic.commands.AddCommand; @@ -12,6 +7,12 @@ import seedu.address.model.person.Student; import seedu.address.model.tag.Tag; +import static seedu.address.logic.parser.CliSyntax.PREFIX_COURSE; +import static seedu.address.logic.parser.CliSyntax.PREFIX_EMAIL; +import static seedu.address.logic.parser.CliSyntax.PREFIX_NAME; +import static seedu.address.logic.parser.CliSyntax.PREFIX_REMARK; +import static seedu.address.logic.parser.CliSyntax.PREFIX_TAG; + /** * A utility class for Person. */ @@ -46,6 +47,7 @@ public static String getEditStudentDescriptorDetails(EditStudentDescriptor descr descriptor.getName().ifPresent(name -> sb.append(PREFIX_NAME).append(name.fullName).append(" ")); descriptor.getCourse().ifPresent(COURSE -> sb.append(PREFIX_COURSE).append(COURSE.value).append(" ")); descriptor.getEmail().ifPresent(email -> sb.append(PREFIX_EMAIL).append(email.value).append(" ")); + descriptor.getRemark().ifPresent(remark -> sb.append(PREFIX_REMARK).append(remark.value).append(" ")); if (descriptor.getTags().isPresent()) { Set tags = descriptor.getTags().get(); if (tags.isEmpty()) {