This pull request includes changes to the SimpleEventStore project, primarily focusing on code simplification, test assertion improvements, and package updates. The most important changes are the removal of unused variables, the transition from Assert.AreEqual to Assert.That for better readability, and the update of various packages to their newer versions.
src/SimpleEventStore/SimpleEventStore.CosmosDb.Tests/AzureCosmosDbEventStoreInitializing.cs and src/SimpleEventStore/SimpleEventStore.CosmosDb.Tests/AzureCosmosDbEventStoreLogging.cs: Replaced Assert.AreEqual and Assert.NotNull with Assert.That for better readability and consistency. [1][2][3][4][5]
Package updates:
src/SimpleEventStore/SimpleEventStore.CosmosDb.Tests/SimpleEventStore.CosmosDb.Tests.csproj, src/SimpleEventStore/SimpleEventStore.CosmosDb/SimpleEventStore.CosmosDb.csproj, and src/SimpleEventStore/SimpleEventStore.Tests/SimpleEventStore.Tests.csproj: Updated the TargetFramework to net8.0 and upgraded various packages to their newer versions, including Microsoft.Extensions.Configuration, Microsoft.NET.Test.Sdk, NUnit, NUnit3TestAdapter, and Microsoft.Azure.Cosmos. [1][2][3][4]
This pull request includes changes to the
SimpleEventStore
project, primarily focusing on code simplification, test assertion improvements, and package updates. The most important changes are the removal of unused variables, the transition fromAssert.AreEqual
toAssert.That
for better readability, and the update of various packages to their newer versions.Code simplification:
src/SimpleEventStore/SimpleEventStore.CosmosDb.Tests/AzureCosmosDbEventStoreInitializing.cs
: Removed unusedstorageEngine
variables in multiple methods. [1] [2] [3] [4]Test assertion improvements:
src/SimpleEventStore/SimpleEventStore.CosmosDb.Tests/AzureCosmosDbEventStoreInitializing.cs
andsrc/SimpleEventStore/SimpleEventStore.CosmosDb.Tests/AzureCosmosDbEventStoreLogging.cs
: ReplacedAssert.AreEqual
andAssert.NotNull
withAssert.That
for better readability and consistency. [1] [2] [3] [4] [5]Package updates:
src/SimpleEventStore/SimpleEventStore.CosmosDb.Tests/SimpleEventStore.CosmosDb.Tests.csproj
,src/SimpleEventStore/SimpleEventStore.CosmosDb/SimpleEventStore.CosmosDb.csproj
, andsrc/SimpleEventStore/SimpleEventStore.Tests/SimpleEventStore.Tests.csproj
: Updated theTargetFramework
tonet8.0
and upgraded various packages to their newer versions, includingMicrosoft.Extensions.Configuration
,Microsoft.NET.Test.Sdk
,NUnit
,NUnit3TestAdapter
, andMicrosoft.Azure.Cosmos
. [1] [2] [3] [4]