Merge branch 'v16/dev' into v15/feature/select-segment

This commit is contained in:
Kenn Jacobsen
2025-04-23 07:12:07 +02:00
committed by GitHub

View File

@@ -555,8 +555,7 @@ internal partial class BlockListElementLevelVariationTests
content = ContentService.GetById(content.Key);
var savedBlocksValue = content?.Properties["blocks"]?.GetValue()?.ToString();
Assert.NotNull(savedBlocksValue);
blockListValue = JsonSerializer.Deserialize<BlockListValue>(savedBlocksValue);
blockListValue = savedBlocksValue is null ? null : JsonSerializer.Deserialize<BlockListValue>(savedBlocksValue);
// limited user access means invariant data is inaccessible since AllowEditInvariantFromNonDefault is disabled
if (updateWithLimitedUserAccess)
@@ -973,7 +972,7 @@ internal partial class BlockListElementLevelVariationTests
}
else
{
Assert.AreEqual("null", savedBlocksValue);
Assert.IsNull(savedBlocksValue);
}
}