fixed tests
This commit is contained in:
		
							parent
							
								
									2447009f99
								
							
						
					
					
						commit
						a747c48458
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -51,7 +51,8 @@ public class ExamProctoringRoomServiceTest extends AdministrationAPIIntegrationT
 | 
			
		|||
        assertFalse(runningExamsForInstitution.hasError());
 | 
			
		||||
        final Collection<Exam> collection = runningExamsForInstitution.get();
 | 
			
		||||
        assertFalse(collection.isEmpty());
 | 
			
		||||
        final Exam exam = collection.iterator().next();
 | 
			
		||||
        final Exam exam = collection.stream().filter(e -> e.id == 2L).findAny().orElse(null);
 | 
			
		||||
        assertNotNull(exam);
 | 
			
		||||
        assertEquals("Demo Quiz 6 (MOCKUP)", exam.name);
 | 
			
		||||
        assertEquals("2", String.valueOf(exam.id));
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue