From 6f88c4267416bc65a89b3ca97214482206e55a01 Mon Sep 17 00:00:00 2001 From: "NCG\\oyvind.tanum" Date: Wed, 22 Jun 2022 16:41:28 +0200 Subject: [PATCH] Deleted HideFromSearch test --- tests/Core.Episerver.Tests/IndexerTests.cs | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/tests/Core.Episerver.Tests/IndexerTests.cs b/tests/Core.Episerver.Tests/IndexerTests.cs index 1f68ada..5ecfe91 100644 --- a/tests/Core.Episerver.Tests/IndexerTests.cs +++ b/tests/Core.Episerver.Tests/IndexerTests.cs @@ -301,17 +301,7 @@ public void ShouldHideFromSearch_ParentInTrash_ReturnsTrue() Assert.True(result); } - - [Fact] - public void ShouldHideFromSearch_HideFromSearchPropertyIsTrue_ReturnsTrue() - { - var content = Factory.GetPageData(); - content.Property.Add(new PropertyBoolean(true) { Name = "HideFromSearch" }); - var result = _indexer.ShouldHideFromSearch(content); - - Assert.True(result); - } - + [Fact] public void ShouldHideFromSearch_PageDeletedPropertyIsTrue_ReturnsTrue() {