From d6b26d0610b67cd87182f9555d7b8e7a7d858d89 Mon Sep 17 00:00:00 2001 From: Francis Pion Date: Wed, 9 Oct 2024 15:08:00 -0400 Subject: [PATCH] MediaTypeNames --- .../Commands/CreateOrReplaceFieldTypeCommandHandlerTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/tests/Logitar.Cms.Core.UnitTests/FieldTypes/Commands/CreateOrReplaceFieldTypeCommandHandlerTests.cs b/backend/tests/Logitar.Cms.Core.UnitTests/FieldTypes/Commands/CreateOrReplaceFieldTypeCommandHandlerTests.cs index 4dedea1..642cd2c 100644 --- a/backend/tests/Logitar.Cms.Core.UnitTests/FieldTypes/Commands/CreateOrReplaceFieldTypeCommandHandlerTests.cs +++ b/backend/tests/Logitar.Cms.Core.UnitTests/FieldTypes/Commands/CreateOrReplaceFieldTypeCommandHandlerTests.cs @@ -70,7 +70,7 @@ public async Task It_should_replace_an_existing_field_type() Description = " ", TextProperties = new() { - ContentType = "text/plain" + ContentType = MediaTypeNames.Text.Plain } }; CreateOrReplaceFieldTypeCommand command = new(_fieldType.Id.ToGuid(), payload, Version: null); @@ -136,7 +136,7 @@ public async Task It_should_update_an_existing_field_type() Description = " ", TextProperties = new() { - ContentType = "text/plain" + ContentType = MediaTypeNames.Text.Plain } }; CreateOrReplaceFieldTypeCommand command = new(_fieldType.Id.ToGuid(), payload, version);