From a93684f1f2febd8cd5f144fd74b9cfd8eb168eee Mon Sep 17 00:00:00 2001 From: Stephan Date: Wed, 15 Jul 2015 18:16:45 +0200 Subject: [PATCH] Bugfix unit tests --- src/Umbraco.Tests/Strings/DefaultShortStringHelperTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Umbraco.Tests/Strings/DefaultShortStringHelperTests.cs b/src/Umbraco.Tests/Strings/DefaultShortStringHelperTests.cs index 025e7cd613..ec7bbe3c72 100644 --- a/src/Umbraco.Tests/Strings/DefaultShortStringHelperTests.cs +++ b/src/Umbraco.Tests/Strings/DefaultShortStringHelperTests.cs @@ -129,7 +129,7 @@ namespace Umbraco.Tests.Strings const string input = "ÆØÅ and æøå and 中文测试 and אודות האתר and größer БбДдЖж page"; - var helper = new DefaultShortStringHelper(SettingsForTests.GetDefault()).WithDefaultConfig(); // unicode + var helper = new DefaultShortStringHelper(settings).WithDefaultConfig(); // unicode var output = helper.CleanStringForUrlSegment(input); Assert.AreEqual("æøå-and-æøå-and-中文测试-and-אודות-האתר-and-größer-ббдджж-page", output); @@ -413,7 +413,7 @@ namespace Umbraco.Tests.Strings contentMock.Setup(x => x.ConvertUrlsToAscii).Returns(false); SettingsForTests.ConfigureSettings(settings); - var helper = new DefaultShortStringHelper(SettingsForTests.GetDefault()).WithDefaultConfig(); + var helper = new DefaultShortStringHelper(settings).WithDefaultConfig(); const string input = "0123 中文测试 中文测试 léger ZÔRG (2) a?? *x";