diff options
| author | Szymon Szukalski <szymon@skas.io> | 2024-07-26 15:16:26 +1000 |
|---|---|---|
| committer | Szymon Szukalski <szymon@skas.io> | 2024-07-26 15:16:26 +1000 |
| commit | e11138e2b39e07537d836d9a51e3926a78c8b870 (patch) | |
| tree | 215e27a9206bc10fbeb5db4b73f8e92acc4fbf84 /src/test/java/com/stileeducation/markr/util/TestResultBuilder.java | |
| parent | 3ac208066db6d11e1a8cc1f6174c6d86b5ac603b (diff) | |
| parent | b59d2f0c722d2e21194ed8d66a17be8128ba7b39 (diff) | |
Merge branch 'caching-issue'
Diffstat (limited to 'src/test/java/com/stileeducation/markr/util/TestResultBuilder.java')
| -rw-r--r-- | src/test/java/com/stileeducation/markr/util/TestResultBuilder.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/java/com/stileeducation/markr/util/TestResultBuilder.java b/src/test/java/com/stileeducation/markr/util/TestResultBuilder.java index db26e15..70fcecd 100644 --- a/src/test/java/com/stileeducation/markr/util/TestResultBuilder.java +++ b/src/test/java/com/stileeducation/markr/util/TestResultBuilder.java @@ -8,7 +8,7 @@ public class TestResultBuilder { private Long id; private Student student; private Test test; - private Integer marksAwarded; + private Integer marksObtained; public TestResultBuilder withId(Long id) { this.id = id; @@ -25,12 +25,12 @@ public class TestResultBuilder { return this; } - public TestResultBuilder withMarksAwarded(Integer marksAwarded) { - this.marksAwarded = marksAwarded; + public TestResultBuilder withMarksObtained(Integer marksObtained) { + this.marksObtained = marksObtained; return this; } public TestResult build() { - return new TestResult(id, student, test, marksAwarded); + return new TestResult(id, student, test, marksObtained); } }
\ No newline at end of file |
