Revert "Add DefaultLanguage fallback policy for published values (#13814)"
This reverts commit ef4c9c508d.
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user