Skip to content

Commit 0916aeb

Browse files
committed
Fix misported lines
1 parent be83dea commit 0916aeb

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

src/SIL.Machine/Corpora/ZipParatextProjectTermsParser.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ namespace SIL.Machine.Corpora
44
{
55
public class ZipParatextProjectTermsParser : ParatextProjectTermsParserBase
66
{
7-
public ZipParatextProjectTermsParser(ZipArchive archive)
8-
: base(new ZipParatextProjectFileHandler(archive), ZipParatextProjectSettingsParser.Parse(archive)) { }
7+
public ZipParatextProjectTermsParser(ZipArchive archive, ParatextProjectSettings parentSettings = null)
8+
: base(
9+
new ZipParatextProjectFileHandler(archive),
10+
ZipParatextProjectSettingsParser.Parse(archive, parentSettings)
11+
) { }
912
}
1013
}

tests/SIL.Machine.Tests/Corpora/ParatextProjectSettingsTests.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ public void IsBookFileName_WrongBookPart_BookNumBookId()
174174
private static ParatextProjectSettings CreateSettings(string fileNameForm)
175175
{
176176
return new ParatextProjectSettings(
177+
"Id",
177178
"Name",
178179
"Name",
179180
Encoding.UTF8,
@@ -185,7 +186,8 @@ private static ParatextProjectSettings CreateSettings(string fileNameForm)
185186
"Major",
186187
"",
187188
"BiblicalTerms.xml",
188-
"en"
189+
"en",
190+
"Standard"
189191
);
190192
}
191193
}

0 commit comments

Comments
 (0)