From 649e1b420a85b651bbc93baf492084911d067623 Mon Sep 17 00:00:00 2001 From: AlexeySafronov Date: Tue, 21 Dec 2021 16:12:37 +0300 Subject: [PATCH] Web: Tests: Added Md5Hash property --- .../Frontend.Translations.Tests/Models/TranslationFile.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/common/Tests/Frontend.Translations.Tests/Models/TranslationFile.cs b/common/Tests/Frontend.Translations.Tests/Models/TranslationFile.cs index 66d6f9cbd0..46c23eead5 100644 --- a/common/Tests/Frontend.Translations.Tests/Models/TranslationFile.cs +++ b/common/Tests/Frontend.Translations.Tests/Models/TranslationFile.cs @@ -5,7 +5,7 @@ namespace Frontend.Translations.Tests { public class TranslationFile { - public TranslationFile(string path, List translations) + public TranslationFile(string path, List translations, string md5hash = null) { FilePath = path.Replace("/", "\\"); @@ -14,6 +14,8 @@ namespace Frontend.Translations.Tests Language = Directory.GetParent(FilePath).Name; //FilePath.Substring(FilePath.IndexOf("locales\\") + 8, 2); Translations = translations; + + Md5Hash = md5hash; } public string FilePath { get; } @@ -23,5 +25,7 @@ namespace Frontend.Translations.Tests public string Language { get; } public List Translations { get; } + + public string Md5Hash { get; } } }