Fix tests in broken build: default strictness in readers.
This commit is contained in:
@@ -104,7 +104,7 @@ public class FlatFileItemReaderTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testNonExistantResource() throws Exception {
|
||||
public void testNonExistentResource() throws Exception {
|
||||
|
||||
Resource resource = new NonExistentResource();
|
||||
|
||||
@@ -114,6 +114,7 @@ public class FlatFileItemReaderTests {
|
||||
// null
|
||||
reader.afterPropertiesSet();
|
||||
|
||||
reader.setStrict(false);
|
||||
reader.open(executionContext);
|
||||
assertNull(reader.read());
|
||||
reader.close();
|
||||
|
||||
@@ -231,6 +231,7 @@ public class StaxEventItemReaderTests {
|
||||
source.setResource(new NonExistentResource());
|
||||
source.afterPropertiesSet();
|
||||
|
||||
source.setStrict(false);
|
||||
source.open(executionContext);
|
||||
assertNull(source.read());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user