From 082b1639cf002e1005ca58bb7c21b778b1271cdd Mon Sep 17 00:00:00 2001 From: Sebastian Stehle Date: Fri, 22 Dec 2017 21:47:02 +0100 Subject: [PATCH] Tests fixed --- .../Commands/AggregateHandlerTests.cs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/Squidex.Infrastructure.Tests/Commands/AggregateHandlerTests.cs b/tests/Squidex.Infrastructure.Tests/Commands/AggregateHandlerTests.cs index 946cbf283..bc61b97b7 100644 --- a/tests/Squidex.Infrastructure.Tests/Commands/AggregateHandlerTests.cs +++ b/tests/Squidex.Infrastructure.Tests/Commands/AggregateHandlerTests.cs @@ -117,7 +117,7 @@ namespace Squidex.Infrastructure.Commands passedDomainObject = x; }); - Assert.Equal(1, domainObject.Snapshot.Version); + Assert.Equal(2, domainObject.Snapshot.Version); Assert.Equal(domainObject, passedDomainObject); Assert.NotNull(context.Result>()); @@ -138,7 +138,7 @@ namespace Squidex.Infrastructure.Commands passedDomainObject = x; }); - Assert.Equal(1, domainObject.Snapshot.Version); + Assert.Equal(2, domainObject.Snapshot.Version); Assert.Equal(domainObject, passedDomainObject); Assert.NotNull(context.Result>()); @@ -159,7 +159,7 @@ namespace Squidex.Infrastructure.Commands passedDomainObject = x; }); - Assert.Equal(1, domainObject.Snapshot.Version); + Assert.Equal(2, domainObject.Snapshot.Version); Assert.Equal(domainObject, passedDomainObject); Assert.NotNull(context.Result>()); @@ -210,7 +210,7 @@ namespace Squidex.Infrastructure.Commands passedDomainObject = x; }); - Assert.Equal(1, domainObject.Snapshot.Version); + Assert.Equal(2, domainObject.Snapshot.Version); Assert.Equal(domainObject, passedDomainObject); Assert.NotNull(context.Result()); @@ -233,7 +233,7 @@ namespace Squidex.Infrastructure.Commands passedDomainObject = x; }); - Assert.Equal(1, domainObject.Snapshot.Version); + Assert.Equal(2, domainObject.Snapshot.Version); Assert.Equal(domainObject, passedDomainObject); Assert.NotNull(context.Result()); @@ -254,7 +254,7 @@ namespace Squidex.Infrastructure.Commands passedDomainObject = x; }); - Assert.Equal(1, domainObject.Snapshot.Version); + Assert.Equal(2, domainObject.Snapshot.Version); Assert.Equal(domainObject, passedDomainObject); Assert.NotNull(context.Result()); @@ -275,7 +275,7 @@ namespace Squidex.Infrastructure.Commands passedDomainObject = x; }); - Assert.Equal(1, domainObject.Snapshot.Version); + Assert.Equal(2, domainObject.Snapshot.Version); Assert.Equal(domainObject, passedDomainObject); Assert.NotNull(context.Result());