Skip to content

Commit 715a373

Browse files
committed
refactor(CardUpload): Update unit test
1 parent 21a48ba commit 715a373

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/UnitTest/Components/UploadCardTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ public void AllowExtensions_Ok()
161161
new() { FileName = "test.dba" }
162162
]);
163163
});
164-
cut.Contains("<span>test.dba</span>");
164+
cut.Contains("<span>test.dba</span><span class=\"file-size-view\">(0 B)</span>");
165165

166166
cut.Render(pb =>
167167
{
@@ -170,7 +170,7 @@ public void AllowExtensions_Ok()
170170
new() { File = new MockBrowserFile("demo.dba") }
171171
]);
172172
});
173-
cut.Contains("<span>demo.dba</span>");
173+
cut.Contains("<span>demo.dba</span><span class=\"file-size-view\">(0 B)</span>");
174174
}
175175

176176
[Fact]

0 commit comments

Comments
 (0)