Skip to content

Commit bf02eb3

Browse files
committed
test: 更新单元测试
1 parent 3972bef commit bf02eb3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/UnitTest/Services/DrawerServiceTest.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ public async Task Show_Ok()
2222
OnClickBackdrop = () => Task.CompletedTask,
2323
OnCloseAsync = () => Task.CompletedTask,
2424
Placement = Placement.Bottom,
25-
ShowBackdrop = true
25+
ShowBackdrop = true,
26+
BodyContext = "test-body-context"
2627
};
2728
var service = Context.Services.GetRequiredService<DrawerService>();
2829
var cut = Context.RenderComponent<BootstrapBlazorRoot>();

0 commit comments

Comments
 (0)