File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
sormas-backend/src/test/java/de/symeda/sormas/backend/info Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 3030
3131public class EntityColumnsTest {
3232
33- private static class TestDto {
33+ private static class EntityColumnTestObject {
3434
3535 @ Diseases (value = {
3636 Disease .GIARDIASIS ,
@@ -47,8 +47,8 @@ private static class TestDto {
4747
4848 private String invokeGetDiseases (String fieldName ) throws Exception {
4949 EntityColumns entityColumns = new EntityColumns (null , false );
50- Field field = TestDto .class .getDeclaredField (fieldName );
51- FieldData fieldData = new FieldData (field , TestDto .class , "Test" );
50+ Field field = EntityColumnTestObject .class .getDeclaredField (fieldName );
51+ FieldData fieldData = new FieldData (field , EntityColumnTestObject .class , "Test" );
5252 Method getDiseases = EntityColumns .class .getDeclaredMethod ("getDiseases" , FieldData .class );
5353 getDiseases .setAccessible (true );
5454 return (String ) getDiseases .invoke (entityColumns , fieldData );
You can’t perform that action at this time.
0 commit comments