Revert "Add DefaultLanguage fallback policy for published values (#13814)"

This reverts commit ef4c9c508d.
This commit is contained in:
Sebastiaan Janssen
2023-03-16 11:32:35 +01:00
parent ef4c9c508d
commit 86247b4578
3 changed files with 11 additions and 105 deletions

View File

@@ -242,15 +242,6 @@ public class PublishedContentLanguageVariantTests : PublishedSnapshotServiceTest
Assert.IsNull(value);
}
[Test]
public void Can_Get_Content_For_Unpopulated_Requested_DefaultLanguage_With_Fallback()
{
var snapshot = GetPublishedSnapshot();
var content = snapshot.Content.GetAtRoot().First();
var value = content.Value(PublishedValueFallback, "welcomeText", "fr", fallback: Fallback.ToDefaultLanguage);
Assert.AreEqual("Welcome", value);
}
[Test]
public void Do_Not_Get_Content_Recursively_Unless_Requested()
{