Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed tests for filtering and sorting context #4928

Merged
merged 2 commits into from
Apr 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
using System.Threading.Tasks;
using HotChocolate.Data.Filters.Expressions;
using HotChocolate.Execution;
using HotChocolate.Resolvers;
using HotChocolate.Types;
using Microsoft.Extensions.DependencyInjection;
using Snapshooter.Xunit;
Expand Down Expand Up @@ -260,7 +259,7 @@ public async Task GetFields_Should_ReturnOrOperations()
}

[Fact]
public async Task EnableFilterExecution_Should_EnableFilterExecution()
public async Task Handled_Should_EnableFilterExecution()
{
IImmutableDictionary<string, object?>? localContextData = null;
// arrange
Expand Down Expand Up @@ -308,7 +307,7 @@ public async Task EnableFilterExecution_Should_EnableFilterExecution()
}

[Fact]
public async Task EnableFilterExecution_Should_DisableFilterExecutionByDefault()
public async Task Handled_Should_DisableFilterExecutionByDefault()
{
IImmutableDictionary<string, object?>? localContextData = null;
// arrange
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public async Task GetFields_Should_ReturnDeepScalarField()
}

[Fact]
public async Task EnableSortingExecution_Should_EnableSortingExecution()
public async Task Handled_Should_EnableSortingExecution()
{
IImmutableDictionary<string, object?>? localContextData = null;
// arrange
Expand Down Expand Up @@ -176,7 +176,7 @@ public async Task EnableSortingExecution_Should_EnableSortingExecution()
}

[Fact]
public async Task EnableSortingExecution_Should_DisableSortingExecutionByDefault()
public async Task Handled_Should_DisableSortingExecutionByDefault()
{
IImmutableDictionary<string, object?>? localContextData = null;
// arrange
Expand Down