access modifiers and constructors fix
This commit is contained in:
@ -11,9 +11,9 @@ import org.junit.Test;
|
||||
public class FileReaderTest {
|
||||
@Test
|
||||
public void shoulReturnNull() {
|
||||
InputStream inputStream = getClass().getClassLoader().getResourceAsStream("Zajecia.xlsx");
|
||||
FileReader r = new FileReader(inputStream);
|
||||
FileData d = r.read();
|
||||
final InputStream inputStream = getClass().getClassLoader().getResourceAsStream("Zajecia.xlsx");
|
||||
final FileReader r = new FileReader(inputStream);
|
||||
final FileData d = r.read();
|
||||
assertTrue(d.getRows().next().getCell(0).toString().equals("1.0"));
|
||||
assertTrue(d.getKeys().size() == 22);
|
||||
assertTrue(d != null);
|
||||
|
@ -23,7 +23,7 @@ import org.junit.runner.RunWith;
|
||||
public class FileToDatabaseMigratorTest {
|
||||
|
||||
@Autowired
|
||||
FileToDatabaseMigrator migrator;
|
||||
private FileToDatabaseMigrator migrator;
|
||||
|
||||
@Autowired
|
||||
private CourseService courseService;
|
||||
|
Reference in New Issue
Block a user