We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4fb29d commit 7934e94Copy full SHA for 7934e94
test/UnitTest/Components/EditorFormTest.cs
@@ -51,13 +51,11 @@ public void CascadedEditContext_Ok()
51
[Fact]
52
public void Model_Error()
53
{
54
- Assert.ThrowsAny<ArgumentNullException>(() =>
+ var cut = Context.RenderComponent<EditorForm<Foo>>(pb =>
55
56
- Context.RenderComponent<EditorForm<Foo>>(pb =>
57
- {
58
- pb.Add(a => a.Model, null);
59
- });
+ pb.Add(a => a.Model, null);
60
});
+ Assert.Equal("<div class=\"bb-editor\"></div>", cut.Markup);
61
}
62
63
0 commit comments