File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/test/java/org/apache/ibatis/builder Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
/**
2
- * Copyright 2009-2017 the original author or authors.
2
+ * Copyright 2009-2018 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -79,7 +79,7 @@ public void withOptionsAndWithoutOptionsAttributesWhenNotSpecifyDefaultValue() t
79
79
builder .parse ();
80
80
81
81
MappedStatement mappedStatement = configuration .getMappedStatement ("selectWithOptionsAndWithoutOptionsAttributes" );
82
- assertThat (mappedStatement .getResultSetType ()).isNull ( );
82
+ assertThat (mappedStatement .getResultSetType ()).isEqualTo ( ResultSetType . DEFAULT );
83
83
}
84
84
85
85
@ Test
@@ -100,7 +100,7 @@ public void withoutOptionsWhenNotSpecifyDefaultValue() throws Exception {
100
100
builder .parse ();
101
101
102
102
MappedStatement mappedStatement = configuration .getMappedStatement ("selectWithoutOptions" );
103
- assertThat (mappedStatement .getResultSetType ()).isNull ( );
103
+ assertThat (mappedStatement .getResultSetType ()).isEqualTo ( ResultSetType . DEFAULT );
104
104
}
105
105
106
106
public interface Mapper {
You can’t perform that action at this time.
0 commit comments