Skip to content

Commit d8597a2

Browse files
author
Joerg Huber
committed
Updated test cases.
1 parent 5ecc30f commit d8597a2

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

SIF3InfraREST/SIF3Demo/sif3-demo-web/src/test/java/sif3/test/infra/rest/consumer/TestRolloverStudentConsumer.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,14 @@ public class TestRolloverStudentConsumer
6666
private static final String UPDATE_PHASE_PAYLOAD = BASE_PATH+"/CreatePhasePayload.xml";
6767
private static final String DELETE_PHASE_PAYLOAD = BASE_PATH+"/DeletePhasePayload.xml";
6868

69-
private static final String JOB_ID = "9fce9406-27d5-467b-92cc-949fff41d4e4";
69+
private static final String JOB_ID = "17c302dc-2a63-4af4-b020-bec34cacd2df";
7070
private static final String CONSUMER_ID = "StudentConsumer";
7171
// private static final String CONSUMER_ID = "HITSStudentConsumer";
7272
// private static final String CONSUMER_ID = "BrokeredAttTrackerConsumer";
7373
// private static final String CONSUMER_ID = "QueueTestConsumer";
7474

7575

76-
private static final RequestType REQUEST_TYPE = RequestType.DELAYED;
76+
private static final RequestType REQUEST_TYPE = RequestType.IMMEDIATE;
7777

7878
private RolloverStudentConsumer getConsumer()
7979
{
@@ -508,7 +508,7 @@ public static void main(String[] args)
508508
//
509509
// Job Operations
510510
//
511-
tester.createJob(consumer);
511+
// tester.createJob(consumer);
512512
// tester.createJobs(consumer);
513513

514514

@@ -522,7 +522,7 @@ public static void main(String[] args)
522522
//
523523
// Phase State Operations
524524
//
525-
// tester.updateJobPhaseState(consumer, "newYearEnrolment", PhaseState.FAILED);
525+
tester.updateJobPhaseState(consumer, "oldYearEnrolment", PhaseState.PENDING);
526526
// tester.getJobPhaseStates(consumer, "newYearEnrolment");
527527

528528
//

SIF3InfraREST/SIF3Demo/sif3-demo-web/src/test/java/sif3/test/infra/rest/consumer/TestStudentPersonalConsumer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ public static void main(String[] args)
514514
StudentPersonalConsumer consumer = tester.getConsumer();
515515

516516
// tester.getStudent(consumer);
517-
tester.getStudents(consumer, true);
517+
// tester.getStudents(consumer, true);
518518
// tester.getStudentsByServicePath("SchoolInfos", "24ed508e1ed04bba82198233efa55859", consumer);
519519
// tester.getStudentsByServicePath("TeachingGroups", "64A309DA063A2E35B359D75101A8C3D1", consumer);
520520
// tester.getStudentsByServicePath("RoomInfos", "24ed508e1ed04bba82198233efa55859", consumer);

0 commit comments

Comments
 (0)