Skip to content

Commit

Permalink
Set culture in Unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Amberg committed Jan 21, 2024
1 parent 50bcbfc commit 5aba8c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions DocxTemplater.Test/DocxTemplateTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ public void DynamicTableWithComplexObjectsAsHeaderAndValues()
{
using var fileStream = File.OpenRead("Resources/DynamicTableWithComplexObjectsAsHeaderAndValues.docx");
var docTemplate = new DocxTemplate(fileStream);
docTemplate.Settings.Culture = new CultureInfo("en-US");
var tableModel = new DynamicTable();
tableModel.AddRow(new Dictionary<object, object>()
{
Expand Down

0 comments on commit 5aba8c5

Please sign in to comment.