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 7e9dcb9 commit c80ed5cCopy full SHA for c80ed5c
1 file changed
test/UnitTest/Components/ModalDialogTest.cs
@@ -166,6 +166,7 @@ public void BodyContext_Ok()
166
{
167
pb.AddChildContent<ModalDialog>(pb =>
168
169
+ pb.Add(d => d.FooterContentTemplate, builder => builder.AddContent(0, "footer-content-template"));
170
pb.Add(d => d.BodyContext, new Foo() { Name = "Test_BodyContext" });
171
pb.Add(d => d.BodyTemplate, BootstrapDynamicComponent.CreateComponent<MockModalDialogContentComponent>().Render());
172
});
@@ -174,6 +175,7 @@ public void BodyContext_Ok()
174
175
var content = cut.FindComponent<MockModalDialogContentComponent>().Instance;
176
var f = content.Context as Foo;
177
Assert.Equal("Test_BodyContext", f!.Name);
178
+ cut.Contains("footer-content-template");
179
}
180
181
[Fact]
0 commit comments