Skip to content

Commit 8e8ea3c

Browse files
committed
Abstracted system time to make html report provide consistent result for testing
1 parent 35a8a3e commit 8e8ea3c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

TestStack.BDDfy/Reporters/Html/HtmlReportBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ private void HtmlHead()
4343
EmbedCssFile(HtmlReportResources.BDDfy_css_min);
4444
EmbedCssFile(_viewModel.CustomStylesheet, HtmlReportResources.CustomStylesheetComment);
4545

46-
AddLine(string.Format("<title>BDDfy Test Result {0}</title>", DateTime.Now.ToShortDateString()));
46+
AddLine(string.Format("<title>BDDfy Test Result {0}</title>", DateProvider().ToShortDateString()));
4747
}
4848
}
4949

0 commit comments

Comments
 (0)