From 1c96892fc65c6a41dbb7f3e35765711a1836d3a2 Mon Sep 17 00:00:00 2001 From: mvarendorff Date: Fri, 4 Oct 2024 11:11:06 +0200 Subject: [PATCH] chore: update tests --- .../UnitOfWorkParameterExpressionBuilderTest.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Fluss.UnitTest/HotChocolate/UnitOfWorkParameterExpressionBuilderTest.cs b/src/Fluss.UnitTest/HotChocolate/UnitOfWorkParameterExpressionBuilderTest.cs index 433de92..7976a2e 100644 --- a/src/Fluss.UnitTest/HotChocolate/UnitOfWorkParameterExpressionBuilderTest.cs +++ b/src/Fluss.UnitTest/HotChocolate/UnitOfWorkParameterExpressionBuilderTest.cs @@ -12,10 +12,10 @@ public class UnitOfWorkParameterExpressionBuilderTest private readonly UnitOfWorkParameterExpressionBuilder _builder = new(); [Fact] - public void CanHandle_ShouldReturnTrueForUnitOfWorkParameter() + public void CanHandle_ShouldReturnFalseForUnitOfWorkParameter() { var parameter = typeof(TestClass).GetMethod(nameof(TestClass.MethodWithUnitOfWork))!.GetParameters()[0]; - Assert.True(_builder.CanHandle(parameter)); + Assert.False(_builder.CanHandle(parameter)); } [Fact] @@ -39,9 +39,9 @@ public void Kind_ShouldReturnCustom() } [Fact] - public void IsPure_ShouldReturnTrue() + public void IsPure_ShouldReturnFalse() { - Assert.True(_builder.IsPure); + Assert.False(_builder.IsPure); } [Fact]