Skip to content

Commit 01736c9

Browse files
committed
Merge pull request #650 from kazuki43zoo/fix-mistake
Fix wrong mock
2 parents 46c9e07 + 8658764 commit 01736c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/org/apache/ibatis/type/CharacterTypeHandlerTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public void shouldGetResultFromResultSetByPosition() throws Exception {
6767
@Test
6868
public void shouldGetResultNullFromResultSetByPosition() throws Exception {
6969
when(rs.getString(1)).thenReturn(null);
70-
when(rs.wasNull()).thenReturn(false);
70+
when(rs.wasNull()).thenReturn(true);
7171
assertNull(TYPE_HANDLER.getResult(rs, 1));
7272
}
7373

0 commit comments

Comments
 (0)