Skip to content

Commit 4c20603

Browse files
committed
Change assertion for #1344
1 parent b968e78 commit 4c20603

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/java/org/apache/ibatis/builder/AnnotationMapperBuilderTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2009-2017 the original author or authors.
2+
* Copyright 2009-2018 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -79,7 +79,7 @@ public void withOptionsAndWithoutOptionsAttributesWhenNotSpecifyDefaultValue() t
7979
builder.parse();
8080

8181
MappedStatement mappedStatement = configuration.getMappedStatement("selectWithOptionsAndWithoutOptionsAttributes");
82-
assertThat(mappedStatement.getResultSetType()).isNull();
82+
assertThat(mappedStatement.getResultSetType()).isEqualTo(ResultSetType.DEFAULT);
8383
}
8484

8585
@Test
@@ -100,7 +100,7 @@ public void withoutOptionsWhenNotSpecifyDefaultValue() throws Exception {
100100
builder.parse();
101101

102102
MappedStatement mappedStatement = configuration.getMappedStatement("selectWithoutOptions");
103-
assertThat(mappedStatement.getResultSetType()).isNull();
103+
assertThat(mappedStatement.getResultSetType()).isEqualTo(ResultSetType.DEFAULT);
104104
}
105105

106106
public interface Mapper {

0 commit comments

Comments
 (0)