Skip to content

Commit 9890085

Browse files
author
zhangrongfan
committed
2.1.0 PRE-RELEASE
1 parent 9013583 commit 9890085

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mybatis-boost-test/src/test/java/cn/mybatisboost/test/NosqlTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public void selectAllOffset1Limit1() throws Exception {
7878
@Test
7979
public void selectByGroupIdAndArtifactId() throws Exception {
8080
Method selectByGroupIdAndArtifactId = mapper.getClass().getDeclaredMethod("selectByGroupIdAndArtifactId", String.class, String.class);
81-
assertEquals(123, (int) ((Project) selectByGroupIdAndArtifactId.invoke(mapper, "cn.mybatisboost1", "mybatis-boost1")).getId());
81+
assertEquals(123, (int) ((List<Project>) selectByGroupIdAndArtifactId.invoke(mapper, "cn.mybatisboost1", "mybatis-boost1")).get(0).getId());
8282
}
8383

8484
@Test

0 commit comments

Comments
 (0)