Skip to content

Commit

Permalink
Fix RescheduleCommandTest issues by changing to correct index
Browse files Browse the repository at this point in the history
  • Loading branch information
hamsyari committed Oct 18, 2016
1 parent f6ba80e commit 8c677dc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/test/java/guitests/RescheduleCommandTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class RescheduleCommandTest extends AddressBookGuiTest {
*/
@Test
public void reschedule_task_to_floattask() throws IllegalValueException {
String index = "1";
String index = "3";
String name = td.attendMeeting.getName().fullName;
String oldDate = td.attendMeeting.getDetailsString();
assertRescheduleResultSuccess("reschedule " + index + " clear", name + "\t" + oldDate + " -> " + "");
Expand All @@ -48,7 +48,7 @@ public void reschedule_task_to_floattask() throws IllegalValueException {
@Test
public void reschedule_task_to_deadlinetask() throws IllegalValueException {
String newDate = "21 Oct 3pm";
String index = "1";
String index = "3";
String command = buildCommand(index, newDate);
String name = td.attendMeeting.getName().fullName;
String oldDate = td.attendMeeting.getDetailsString();
Expand All @@ -70,7 +70,7 @@ public void reschedule_task_to_deadlinetask() throws IllegalValueException {
@Test
public void reschedule_task_to_eventtask() throws IllegalValueException {
String newDate = "21 Oct 3pm to 31 Oct 5pm";
String index = "1";
String index = "3";
String command = buildCommand(index, newDate);
String name = td.attendMeeting.getName().fullName;
String oldDate = td.attendMeeting.getDetailsString();
Expand Down

0 comments on commit 8c677dc

Please sign in to comment.