Update CourseServiceUnitTest.java

This commit is contained in:
worldpeacez0991 2019-03-08 15:15:32 +08:00 committed by GitHub
parent 90bd26c8b1
commit 320b48ccfe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ public class CourseServiceUnitTest {
CourseService.copyProperties(course, courseEntity);
assertNotNull(course.getName());
assertNotNull(courseEntity.getName());
assertNotNull(courseEntity.getName());
Assert.assertEquals(course.getName(), courseEntity.getName());
Assert.assertEquals(course.getCodes(), courseEntity.getCodes());
Assert.assertNull(courseEntity.getStudent("ST-1"));