Service refactoring to "fully" enable segments (#19114)
* Refactor serverside content editing to support all variance combinations * Fix build errors * Reintroduce the tests ignored by #19060 --------- Co-authored-by: Mads Rasmussen <madsr@hey.com>
This commit is contained in:
@@ -128,9 +128,8 @@ internal sealed class MediaHybridCacheTests : UmbracoIntegrationTestWithMediaEdi
|
||||
|
||||
var mediaUpdateModel = new MediaUpdateModel
|
||||
{
|
||||
InvariantName = newName,
|
||||
InvariantProperties = SubImage.InvariantProperties,
|
||||
Variants = SubImage.Variants,
|
||||
Properties = SubImage.Properties,
|
||||
Variants = [new VariantModel { Name = newName }]
|
||||
};
|
||||
|
||||
// Act
|
||||
@@ -152,9 +151,8 @@ internal sealed class MediaHybridCacheTests : UmbracoIntegrationTestWithMediaEdi
|
||||
|
||||
var mediaUpdateModel = new MediaUpdateModel
|
||||
{
|
||||
InvariantName = newName,
|
||||
InvariantProperties = SubImage.InvariantProperties,
|
||||
Variants = SubImage.Variants,
|
||||
Properties = SubImage.Properties,
|
||||
Variants = [new VariantModel { Name = newName }]
|
||||
};
|
||||
|
||||
// Act
|
||||
|
||||
Reference in New Issue
Block a user