Skip to content

Commit 8957f08

Browse files
committed
!3752 test(#I6AHXN): add unit test PageIndex as parameter on OnQuery method
* test: 增加页码查询参数单元测试
1 parent de8f5e2 commit 8957f08

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/UnitTest/Components/TableTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2114,7 +2114,7 @@ public async void IsTree_OnQuery()
21142114
await cut.InvokeAsync(() => node.Click());
21152115

21162116
var table = cut.FindComponent<Table<FooTree>>();
2117-
await cut.InvokeAsync(() => table.Instance.QueryAsync());
2117+
await cut.InvokeAsync(() => table.Instance.QueryAsync(1));
21182118

21192119
var nodes = cut.FindAll("tbody tr");
21202120
Assert.Equal(4, nodes.Count);

0 commit comments

Comments
 (0)