Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
anhefti committed Jan 22, 2025
1 parent 51b819c commit 43d772e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ public void testExamCreationWithIntegerBasedUUIDs() throws Exception {
null,
null,
0L,
100L);
100L,
null);

// store exam1 with integer based uuid
Result<Exam> saveExam = examDAO.createNew(exam1);
Expand Down Expand Up @@ -73,7 +74,8 @@ public void testExamCreationWithIntegerBasedUUIDs() throws Exception {
null,
null,
0L,
100L);
100L,
null);

// store exam2 with integer based uuid
Result<Exam> saveExam2 = examDAO.createNew(exam2);
Expand Down
5 changes: 5 additions & 0 deletions src/test/java/ch/ethz/seb/sps/repltests/ReplTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,11 @@ public void testJSONCriatorWithNoneProp() throws JsonMappingException, JsonProce
"Exam{id=null, uuid='null', name='Demo Quiz 10 (MOCKUP)', description='Starts in a minute and ends after five minutes', url='http://lms.address.alias/api/', type='BYOD', owner='null', supporter=[], creationTime=null, lastUpdateTime=null, terminationTime=null, startTime=1695884353000, endTime=1695884653000, deletionTime=null, entityPrivileges=null}",
exam.toString());
}

@Test
public void CurrentT() {

}

// @Test
// public void testSecretKeyGen() throws NoSuchAlgorithmException, InvalidKeySpecException {
Expand Down

0 comments on commit 43d772e

Please sign in to comment.