Skip to content

Commit 906505c

Browse files
committed
test: 更新单元测试
1 parent 45c7ac7 commit 906505c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/UnitTest/Components/UploadAvatarTest.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,11 @@ await cut.InvokeAsync(() => input.Instance.OnChange.InvokeAsync(new InputFileCha
8080
var button = cut.Find(".upload-item-delete");
8181
await cut.InvokeAsync(() => button.Click());
8282

83-
cut.Contains("upload-item-actions btn-browser");
83+
cut.Contains("btn-browser");
8484
cut.SetParametersAndRender(pb =>
8585
{
8686
pb.Add(a => a.IsDisabled, true);
8787
});
88-
cut.Contains("upload-item-actions");
8988

9089
// IsUploadButtonAtFirst
9190
cut.SetParametersAndRender(pb =>

0 commit comments

Comments
 (0)