diff --git a/src/DotVVM.Framework.Tests.Common/Runtime/ConfigurationSerializationTests.cs b/src/DotVVM.Framework.Tests.Common/Runtime/ConfigurationSerializationTests.cs index eac9c91165..0cacea1c55 100644 --- a/src/DotVVM.Framework.Tests.Common/Runtime/ConfigurationSerializationTests.cs +++ b/src/DotVVM.Framework.Tests.Common/Runtime/ConfigurationSerializationTests.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using System.Runtime.CompilerServices; +using System.Text.RegularExpressions; using CheckTestOutput; using DotVVM.Framework.Compilation; using DotVVM.Framework.Configuration; @@ -24,6 +25,7 @@ public ConfigurationSerializationTests() void checkConfig(DotvvmConfiguration config, string checkName = null, string fileExtension = "json", [CallerMemberName] string memberName = null, [CallerFilePath] string sourceFilePath = null) { var serialized = DotVVM.Framework.Hosting.VisualStudioHelper.SerializeConfig(config); + serialized = Regex.Replace(serialized, "DotVVM\\.Framework, Version=[0-9.]+,", "DotVVM.Framework, Version=2.4.0.2,"); check.CheckString(serialized, checkName, fileExtension, memberName, sourceFilePath); }