summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/stileeducation/markr/dto/AggregateResponseDTO.java1
-rw-r--r--src/main/java/com/stileeducation/markr/service/TestResultsService.java6
-rw-r--r--src/test/java/com/stileeducation/markr/controller/TestResultsControllerTest.java3
3 files changed, 0 insertions, 10 deletions
diff --git a/src/main/java/com/stileeducation/markr/dto/AggregateResponseDTO.java b/src/main/java/com/stileeducation/markr/dto/AggregateResponseDTO.java
index 6947764..b16a4b8 100644
--- a/src/main/java/com/stileeducation/markr/dto/AggregateResponseDTO.java
+++ b/src/main/java/com/stileeducation/markr/dto/AggregateResponseDTO.java
@@ -16,7 +16,6 @@ public class AggregateResponseDTO {
private double p75 = 0.0;
private int count = 0;
- // Getters and Setters
public double getMean() {
return mean;
}
diff --git a/src/main/java/com/stileeducation/markr/service/TestResultsService.java b/src/main/java/com/stileeducation/markr/service/TestResultsService.java
index 7823feb..3c941dd 100644
--- a/src/main/java/com/stileeducation/markr/service/TestResultsService.java
+++ b/src/main/java/com/stileeducation/markr/service/TestResultsService.java
@@ -28,10 +28,6 @@ public class TestResultsService {
private final TestResultRepository testResultRepository;
- private final StudentRepository studentRepository;
-
- private final TestRepository testRepository;
-
private final StudentService studentService;
private final TestService testService;
@@ -42,8 +38,6 @@ public class TestResultsService {
StudentService studentService,
TestService testService) {
this.testResultRepository = testResultRepository;
- this.studentRepository = studentRepository;
- this.testRepository = testRepository;
this.studentService = studentService;
this.testService = testService;
}
diff --git a/src/test/java/com/stileeducation/markr/controller/TestResultsControllerTest.java b/src/test/java/com/stileeducation/markr/controller/TestResultsControllerTest.java
index cd1f3cb..40de1a5 100644
--- a/src/test/java/com/stileeducation/markr/controller/TestResultsControllerTest.java
+++ b/src/test/java/com/stileeducation/markr/controller/TestResultsControllerTest.java
@@ -382,9 +382,6 @@ public class TestResultsControllerTest {
headers.setContentType(XmlMarkrMessageConverter.MEDIA_TYPE);
HttpEntity<String> entity = new HttpEntity<>(validPayload, headers);
- // Initial Submit
- restTemplate.postForEntity(IMPORT_ENDPOINT, entity, ImportResponseDTO.class);
-
// When
ResponseEntity<ImportResponseDTO> response = restTemplate.postForEntity(IMPORT_ENDPOINT, entity, ImportResponseDTO.class);