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 2561de8 commit 19f7dfaCopy full SHA for 19f7dfa
test/UnitTest/Components/DateTimePickerTest.cs
@@ -10,6 +10,18 @@ namespace UnitTest.Components;
10
public class DateTimePickerTest : BootstrapBlazorTestBase
11
{
12
#region DateTimePicker
13
+ [Fact]
14
+ public void Color_Ok()
15
+ {
16
+ var cut = Context.RenderComponent<DateTimePicker<DateTime>>(pb =>
17
18
+ pb.Add(a => a.AutoToday, true);
19
+ pb.Add(a => a.Value, DateTime.MinValue);
20
+ pb.Add(a => a.Color, Color.Primary);
21
+ });
22
+ cut.Contains("border-primary");
23
+ }
24
+
25
[Fact]
26
public void AutoToday_DateTime()
27
0 commit comments