Fix some tests

This commit is contained in:
Stephan
2018-05-04 18:13:06 +02:00
parent b35d28c568
commit 71ed99f080
4 changed files with 8 additions and 5 deletions

View File

@@ -1163,7 +1163,6 @@ namespace Umbraco.Core
public static string ToUrlSegment(this string text, string culture)
{
if (string.IsNullOrWhiteSpace(text)) throw new ArgumentNullOrEmptyException(nameof(text));
if (culture == null) throw new ArgumentNullException(nameof(culture));
return Current.ShortStringHelper.CleanStringForUrlSegment(text, culture);
}