mirror of
https://gitee.com/dromara/hutool.git
synced 2025-04-24 18:04:54 +08:00
fix test
This commit is contained in:
parent
d9cd597256
commit
0797ceb12d
@ -44,7 +44,7 @@ public class SerializeUtil {
|
||||
return null;
|
||||
}
|
||||
final FastByteArrayOutputStream byteOut = new FastByteArrayOutputStream();
|
||||
IoUtil.writeObjects(byteOut, false, (Serializable) obj);
|
||||
IoUtil.writeObjects(byteOut, false, obj);
|
||||
return byteOut.toByteArray();
|
||||
}
|
||||
|
||||
|
@ -99,6 +99,13 @@ public class CRUDTest {
|
||||
Assert.assertEquals(2, results.size());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void findInTest4() {
|
||||
final List<Entity> results = db.findAll(Entity.of("user")
|
||||
.set("id", new String[]{"1", "2", "3"}));
|
||||
Assert.assertEquals(2, results.size());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void findAllTest() {
|
||||
final List<Entity> results = db.findAll("user");
|
||||
|
Loading…
Reference in New Issue
Block a user