Skip to content

Commit

Permalink
test fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
enchev committed Nov 13, 2024
1 parent 169cf14 commit f32fe71
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Radzen.Blazor.Tests/DataGridTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -824,10 +824,14 @@ public void DataGrid_Respects_PageSizeParameter()

component.SetParametersAndRender(parameters =>
{
parameters.Add<int>(p => p.PageSize, 20);
parameters.Add<LoadDataArgs>(p => p.LoadData, args => { raised = true; newArgs = args; });
});

component.SetParametersAndRender(parameters =>
{
parameters.Add<int>(p => p.PageSize, 20);
});

component.Find(".rz-pager-next").Click();

Assert.True(raised);
Expand Down

0 comments on commit f32fe71

Please sign in to comment.