Skip to content

Commit

Permalink
Merge pull request #64 from emregokrem/master
Browse files Browse the repository at this point in the history
Datetimepicker test fix.
  • Loading branch information
yagizhanNY committed May 29, 2024
2 parents ec730f0 + 1726cad commit e01a55c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SiemensIXBlazor.Tests/DateTimePickerTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public void ComponentRendersWithCorrectProperties()
.Add(p => p.To, "2022/12/31"));

// Assert
cut.MarkupMatches("<ix-datetime-picker id=\"testId\" date-format=\"yyyy/MM/dd\" event-delimiter=\" - \" from=\"2024/05/28\" max-date=\"2022/12/31\" min-date=\"2022/01/01\" range=\"\" show-time-reference=\"\" text-select-date=\"Done\" time=\"12:00:00\" time-format=\"HH:mm:ss\" time-reference=\"12:00:00\" to=\"2022/12/31\"></ix-datetime-picker>");
cut.MarkupMatches($"<ix-datetime-picker id=\"testId\" date-format=\"yyyy/MM/dd\" event-delimiter=\" - \" from=\"{DateTime.Now:yyyy/MM/dd}\" max-date=\"2022/12/31\" min-date=\"2022/01/01\" range=\"\" show-time-reference=\"\" text-select-date=\"Done\" time=\"12:00:00\" time-format=\"HH:mm:ss\" time-reference=\"12:00:00\" to=\"2022/12/31\"></ix-datetime-picker>");
}

[Fact]
Expand Down

0 comments on commit e01a55c

Please sign in to comment.