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 66c8b36 commit d414a1bCopy full SHA for d414a1b
test/UnitTest/Components/LayoutTest.cs
@@ -52,7 +52,15 @@ public void IsFixedFooter_OK()
52
[Fact]
53
public void IsFixedTabHeader_OK()
54
{
55
- var cut = Context.RenderComponent<Layout>();
+ var cut = Context.RenderComponent<Layout>(pb =>
56
+ {
57
+ pb.Add(a => a.Side, new RenderFragment(builder =>
58
59
+ builder.AddContent(0, "test");
60
+ }));
61
+ pb.Add(a => a.Menus, new MenuItem[] { new() { Url = "/" } });
62
+
63
+ });
64
Assert.DoesNotContain("is-fixed-tab", cut.Markup);
65
66
cut.SetParametersAndRender(pb => pb.Add(a => a.IsFixedTabHeader, true));
0 commit comments