Skip to content

Commit

Permalink
Deleted HideFromSearch test
Browse files Browse the repository at this point in the history
  • Loading branch information
NCG\oyvind.tanum committed Jun 22, 2022
1 parent 06175c2 commit 6f88c42
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions tests/Core.Episerver.Tests/IndexerTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
{
Expand Down

0 comments on commit 6f88c42

Please sign in to comment.