File tree 1 file changed +2
-2
lines changed
springboot-starter/src/test/java/com/codingapi/springboot/framework/dto
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ void multi() {
22
22
list .add ("234" );
23
23
24
24
MultiResponse <String > multiResponse = MultiResponse .of (list );
25
- Assert .isTrue (multiResponse .getData ().equals (list ), "return data error." );
25
+ Assert .isTrue (multiResponse .getData ().getList (). equals (list ), "return data error." );
26
26
Assert .isTrue (multiResponse .getData ().getTotal () == list .size (), "return data error." );
27
27
28
28
}
@@ -34,7 +34,7 @@ void multiSize() {
34
34
list .add ("234" );
35
35
36
36
MultiResponse <String > multiResponse = MultiResponse .of (list , 10 );
37
- Assert .isTrue (multiResponse .getData ().equals (list ), "return data error." );
37
+ Assert .isTrue (multiResponse .getData ().getList (). equals (list ), "return data error." );
38
38
Assert .isTrue (multiResponse .getData ().getTotal () == 10 , "return data error." );
39
39
40
40
}
You can’t perform that action at this time.
0 commit comments