diff --git a/compose.yaml b/compose.yaml index a838b53..4663f36 100644 --- a/compose.yaml +++ b/compose.yaml @@ -74,7 +74,7 @@ services: container_name: db-migrations build: context: . - dockerfile: src/ServiceLayer.Mesh/Dockerfile.migrations + dockerfile: src/ServiceLayer.Common/Dockerfile.migrations args: DatabaseConnectionString: "${DatabaseConnectionString}" depends_on: diff --git a/src/ServiceLayer.Mesh/Data/DesignTimeDbContextFactory.cs b/src/ServiceLayer.Common/Data/DesignTimeDbContextFactory.cs similarity index 95% rename from src/ServiceLayer.Mesh/Data/DesignTimeDbContextFactory.cs rename to src/ServiceLayer.Common/Data/DesignTimeDbContextFactory.cs index ec4073e..8bdea8d 100644 --- a/src/ServiceLayer.Mesh/Data/DesignTimeDbContextFactory.cs +++ b/src/ServiceLayer.Common/Data/DesignTimeDbContextFactory.cs @@ -1,7 +1,7 @@ using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Design; -namespace ServiceLayer.Mesh.Data; +namespace ServiceLayer.Data; public class DesignTimeDbContextFactory : IDesignTimeDbContextFactory { diff --git a/src/ServiceLayer.Mesh/Migrations/20250512113115_InitialCreate.Designer.cs b/src/ServiceLayer.Common/Data/Migrations/20250512113115_InitialCreate.Designer.cs similarity index 98% rename from src/ServiceLayer.Mesh/Migrations/20250512113115_InitialCreate.Designer.cs rename to src/ServiceLayer.Common/Data/Migrations/20250512113115_InitialCreate.Designer.cs index 9e7f7de..f0ea260 100644 --- a/src/ServiceLayer.Mesh/Migrations/20250512113115_InitialCreate.Designer.cs +++ b/src/ServiceLayer.Common/Data/Migrations/20250512113115_InitialCreate.Designer.cs @@ -5,7 +5,7 @@ using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; -using ServiceLayer.Mesh.Data; +using ServiceLayer.Data; #nullable disable diff --git a/src/ServiceLayer.Mesh/Migrations/20250512113115_InitialCreate.cs b/src/ServiceLayer.Common/Data/Migrations/20250512113115_InitialCreate.cs similarity index 100% rename from src/ServiceLayer.Mesh/Migrations/20250512113115_InitialCreate.cs rename to src/ServiceLayer.Common/Data/Migrations/20250512113115_InitialCreate.cs diff --git a/src/ServiceLayer.Mesh/Migrations/ServiceLayerDbContextModelSnapshot.cs b/src/ServiceLayer.Common/Data/Migrations/ServiceLayerDbContextModelSnapshot.cs similarity index 98% rename from src/ServiceLayer.Mesh/Migrations/ServiceLayerDbContextModelSnapshot.cs rename to src/ServiceLayer.Common/Data/Migrations/ServiceLayerDbContextModelSnapshot.cs index 71cedc3..f000fcd 100644 --- a/src/ServiceLayer.Mesh/Migrations/ServiceLayerDbContextModelSnapshot.cs +++ b/src/ServiceLayer.Common/Data/Migrations/ServiceLayerDbContextModelSnapshot.cs @@ -4,7 +4,7 @@ using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; -using ServiceLayer.Mesh.Data; +using ServiceLayer.Data; #nullable disable diff --git a/src/ServiceLayer.Mesh/Models/MeshFile.cs b/src/ServiceLayer.Common/Data/Models/MeshFile.cs similarity index 85% rename from src/ServiceLayer.Mesh/Models/MeshFile.cs rename to src/ServiceLayer.Common/Data/Models/MeshFile.cs index b7de2cb..1963555 100644 --- a/src/ServiceLayer.Mesh/Models/MeshFile.cs +++ b/src/ServiceLayer.Common/Data/Models/MeshFile.cs @@ -1,7 +1,6 @@ using System.ComponentModel.DataAnnotations; -using Microsoft.EntityFrameworkCore.Metadata.Internal; -namespace ServiceLayer.Mesh.Models; +namespace ServiceLayer.Data.Models; public class MeshFile { diff --git a/src/ServiceLayer.Mesh/Models/MeshFileStatus.cs b/src/ServiceLayer.Common/Data/Models/MeshFileStatus.cs similarity index 80% rename from src/ServiceLayer.Mesh/Models/MeshFileStatus.cs rename to src/ServiceLayer.Common/Data/Models/MeshFileStatus.cs index 879abb9..b43f3e6 100644 --- a/src/ServiceLayer.Mesh/Models/MeshFileStatus.cs +++ b/src/ServiceLayer.Common/Data/Models/MeshFileStatus.cs @@ -1,4 +1,4 @@ -namespace ServiceLayer.Mesh.Models; +namespace ServiceLayer.Data.Models; public enum MeshFileStatus { diff --git a/src/ServiceLayer.Mesh/Models/MeshFileType.cs b/src/ServiceLayer.Common/Data/Models/MeshFileType.cs similarity index 60% rename from src/ServiceLayer.Mesh/Models/MeshFileType.cs rename to src/ServiceLayer.Common/Data/Models/MeshFileType.cs index c86748f..32a8c19 100644 --- a/src/ServiceLayer.Mesh/Models/MeshFileType.cs +++ b/src/ServiceLayer.Common/Data/Models/MeshFileType.cs @@ -1,4 +1,4 @@ -namespace ServiceLayer.Mesh.Models; +namespace ServiceLayer.Data.Models; public enum MeshFileType { diff --git a/src/ServiceLayer.Mesh/Data/ServiceLayerDbContext.cs b/src/ServiceLayer.Common/Data/ServiceLayerDbContext.cs similarity index 89% rename from src/ServiceLayer.Mesh/Data/ServiceLayerDbContext.cs rename to src/ServiceLayer.Common/Data/ServiceLayerDbContext.cs index de65f7e..418ca85 100644 --- a/src/ServiceLayer.Mesh/Data/ServiceLayerDbContext.cs +++ b/src/ServiceLayer.Common/Data/ServiceLayerDbContext.cs @@ -1,7 +1,7 @@ using Microsoft.EntityFrameworkCore; -using ServiceLayer.Mesh.Models; +using ServiceLayer.Data.Models; -namespace ServiceLayer.Mesh.Data; +namespace ServiceLayer.Data; public class ServiceLayerDbContext(DbContextOptions options) : DbContext(options) { diff --git a/src/ServiceLayer.Mesh/Dockerfile.migrations b/src/ServiceLayer.Common/Dockerfile.migrations similarity index 84% rename from src/ServiceLayer.Mesh/Dockerfile.migrations rename to src/ServiceLayer.Common/Dockerfile.migrations index f6fb372..0106461 100644 --- a/src/ServiceLayer.Mesh/Dockerfile.migrations +++ b/src/ServiceLayer.Common/Dockerfile.migrations @@ -12,8 +12,8 @@ RUN git submodule update --init --recursive ARG DatabaseConnectionString ENV DatabaseConnectionString=${DatabaseConnectionString} -RUN dotnet restore ./src/ServiceLayer.Mesh/ServiceLayer.Mesh.csproj && \ - dotnet build ./src/ServiceLayer.Mesh/ServiceLayer.Mesh.csproj && \ +RUN dotnet restore ./src/ServiceLayer.Common/ServiceLayer.Common.csproj && \ + dotnet build ./src/ServiceLayer.Common/ServiceLayer.Common.csproj && \ dotnet tool install dotnet-ef --tool-path /tools ENV PATH="/tools:$PATH" \ @@ -24,7 +24,7 @@ ENV PATH="/tools:$PATH" \ RUN mkdir -p /database && \ dotnet ef migrations script \ -o /database/migration.sql \ - --project ./src/ServiceLayer.Mesh/ + --project ./src/ServiceLayer.Common/ # Stage 2: Runtime - Apply Migration and Seed Data FROM mcr.microsoft.com/mssql-tools:v1 AS migration-env diff --git a/src/ServiceLayer.Common/ServiceLayer.Common.csproj b/src/ServiceLayer.Common/ServiceLayer.Common.csproj new file mode 100644 index 0000000..bd85ff0 --- /dev/null +++ b/src/ServiceLayer.Common/ServiceLayer.Common.csproj @@ -0,0 +1,19 @@ + + + + net9.0 + enable + enable + ServiceLayer + + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + diff --git a/src/ServiceLayer.Mesh/Functions/FileDiscoveryFunction.cs b/src/ServiceLayer.Mesh/Functions/FileDiscoveryFunction.cs index 423e177..704186b 100644 --- a/src/ServiceLayer.Mesh/Functions/FileDiscoveryFunction.cs +++ b/src/ServiceLayer.Mesh/Functions/FileDiscoveryFunction.cs @@ -2,10 +2,10 @@ using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Logging; using NHS.MESH.Client.Contracts.Services; +using ServiceLayer.Data; +using ServiceLayer.Data.Models; using ServiceLayer.Mesh.Configuration; -using ServiceLayer.Mesh.Data; using ServiceLayer.Mesh.Messaging; -using ServiceLayer.Mesh.Models; namespace ServiceLayer.Mesh.Functions { diff --git a/src/ServiceLayer.Mesh/Functions/FileExtractFunction.cs b/src/ServiceLayer.Mesh/Functions/FileExtractFunction.cs index 203c91b..75505e9 100644 --- a/src/ServiceLayer.Mesh/Functions/FileExtractFunction.cs +++ b/src/ServiceLayer.Mesh/Functions/FileExtractFunction.cs @@ -3,10 +3,10 @@ using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Logging; using NHS.MESH.Client.Contracts.Services; +using ServiceLayer.Data; +using ServiceLayer.Data.Models; using ServiceLayer.Mesh.Configuration; -using ServiceLayer.Mesh.Data; using ServiceLayer.Mesh.Messaging; -using ServiceLayer.Mesh.Models; using ServiceLayer.Mesh.Storage; namespace ServiceLayer.Mesh.Functions; diff --git a/src/ServiceLayer.Mesh/Messaging/FileExtractQueueClient.cs b/src/ServiceLayer.Mesh/Messaging/FileExtractQueueClient.cs index 6386783..8cb8a74 100644 --- a/src/ServiceLayer.Mesh/Messaging/FileExtractQueueClient.cs +++ b/src/ServiceLayer.Mesh/Messaging/FileExtractQueueClient.cs @@ -1,7 +1,7 @@ using Azure.Storage.Queues; using Microsoft.Extensions.Logging; +using ServiceLayer.Data.Models; using ServiceLayer.Mesh.Configuration; -using ServiceLayer.Mesh.Models; namespace ServiceLayer.Mesh.Messaging; diff --git a/src/ServiceLayer.Mesh/Messaging/FileTransformQueueClient.cs b/src/ServiceLayer.Mesh/Messaging/FileTransformQueueClient.cs index 5639b91..64e2004 100644 --- a/src/ServiceLayer.Mesh/Messaging/FileTransformQueueClient.cs +++ b/src/ServiceLayer.Mesh/Messaging/FileTransformQueueClient.cs @@ -1,7 +1,7 @@ using Azure.Storage.Queues; using Microsoft.Extensions.Logging; +using ServiceLayer.Data.Models; using ServiceLayer.Mesh.Configuration; -using ServiceLayer.Mesh.Models; namespace ServiceLayer.Mesh.Messaging; diff --git a/src/ServiceLayer.Mesh/Messaging/IFileExtractQueueClient.cs b/src/ServiceLayer.Mesh/Messaging/IFileExtractQueueClient.cs index 35f1e30..8f6b888 100644 --- a/src/ServiceLayer.Mesh/Messaging/IFileExtractQueueClient.cs +++ b/src/ServiceLayer.Mesh/Messaging/IFileExtractQueueClient.cs @@ -1,4 +1,4 @@ -using ServiceLayer.Mesh.Models; +using ServiceLayer.Data.Models; namespace ServiceLayer.Mesh.Messaging; diff --git a/src/ServiceLayer.Mesh/Messaging/IFileTransformQueueClient.cs b/src/ServiceLayer.Mesh/Messaging/IFileTransformQueueClient.cs index 13ab5f3..aef3633 100644 --- a/src/ServiceLayer.Mesh/Messaging/IFileTransformQueueClient.cs +++ b/src/ServiceLayer.Mesh/Messaging/IFileTransformQueueClient.cs @@ -1,4 +1,4 @@ -using ServiceLayer.Mesh.Models; +using ServiceLayer.Data.Models; namespace ServiceLayer.Mesh.Messaging; diff --git a/src/ServiceLayer.Mesh/Program.cs b/src/ServiceLayer.Mesh/Program.cs index 746d270..e56d980 100644 --- a/src/ServiceLayer.Mesh/Program.cs +++ b/src/ServiceLayer.Mesh/Program.cs @@ -1,16 +1,13 @@ -using Microsoft.Azure.Functions.Worker.Builder; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.DependencyInjection; using Azure.Storage.Queues; using Azure.Identity; using Microsoft.EntityFrameworkCore; using NHS.MESH.Client; -using ServiceLayer.Mesh.Data; using Azure.Storage.Blobs; using ServiceLayer.Mesh.Configuration; using ServiceLayer.Mesh.Messaging; -using NHS.MESH.Client.Contracts.Services; -using NHS.MESH.Client.Services; +using ServiceLayer.Data; var host = new HostBuilder() .ConfigureFunctionsWebApplication() diff --git a/src/ServiceLayer.Mesh/ServiceLayer.Mesh.csproj b/src/ServiceLayer.Mesh/ServiceLayer.Mesh.csproj index 2743812..535e2af 100644 --- a/src/ServiceLayer.Mesh/ServiceLayer.Mesh.csproj +++ b/src/ServiceLayer.Mesh/ServiceLayer.Mesh.csproj @@ -19,12 +19,6 @@ - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - @@ -36,6 +30,7 @@ + diff --git a/src/ServiceLayer.Mesh/Storage/IMeshFilesBlobStore.cs b/src/ServiceLayer.Mesh/Storage/IMeshFilesBlobStore.cs index 91a61dc..d0545a2 100644 --- a/src/ServiceLayer.Mesh/Storage/IMeshFilesBlobStore.cs +++ b/src/ServiceLayer.Mesh/Storage/IMeshFilesBlobStore.cs @@ -1,4 +1,4 @@ -using ServiceLayer.Mesh.Models; +using ServiceLayer.Data.Models; namespace ServiceLayer.Mesh.Storage; diff --git a/src/ServiceLayer.Mesh/Storage/MeshFilesBlobStore.cs b/src/ServiceLayer.Mesh/Storage/MeshFilesBlobStore.cs index d0b0c21..32758ed 100644 --- a/src/ServiceLayer.Mesh/Storage/MeshFilesBlobStore.cs +++ b/src/ServiceLayer.Mesh/Storage/MeshFilesBlobStore.cs @@ -1,5 +1,5 @@ using Azure.Storage.Blobs; -using ServiceLayer.Mesh.Models; +using ServiceLayer.Data.Models; namespace ServiceLayer.Mesh.Storage; diff --git a/src/ServiceLayer.sln b/src/ServiceLayer.sln index 76d19f3..e37cf51 100644 --- a/src/ServiceLayer.sln +++ b/src/ServiceLayer.sln @@ -15,6 +15,10 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ServiceLayer.Mesh.Tests", " EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NHS.Mesh.Client", "dotnet-mesh-client\application\DotNetMeshClient\NHS.Mesh.Client\NHS.Mesh.Client.csproj", "{F373FEBA-AD0B-4E0B-BEE3-31D22C7AD43D}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ServiceLayer.Common", "ServiceLayer.Common\ServiceLayer.Common.csproj", "{B086BBF9-1A41-48C9-B019-F9C75CA634AF}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ServiceLayer.Common.Tests", "..\tests\ServiceLayer.Common.Tests\ServiceLayer.Common.Tests.csproj", "{9642EC3A-9BC3-4557-ACD1-807FE764D5F6}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -85,6 +89,30 @@ Global {F373FEBA-AD0B-4E0B-BEE3-31D22C7AD43D}.Release|x64.Build.0 = Release|Any CPU {F373FEBA-AD0B-4E0B-BEE3-31D22C7AD43D}.Release|x86.ActiveCfg = Release|Any CPU {F373FEBA-AD0B-4E0B-BEE3-31D22C7AD43D}.Release|x86.Build.0 = Release|Any CPU + {B086BBF9-1A41-48C9-B019-F9C75CA634AF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B086BBF9-1A41-48C9-B019-F9C75CA634AF}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B086BBF9-1A41-48C9-B019-F9C75CA634AF}.Debug|x64.ActiveCfg = Debug|Any CPU + {B086BBF9-1A41-48C9-B019-F9C75CA634AF}.Debug|x64.Build.0 = Debug|Any CPU + {B086BBF9-1A41-48C9-B019-F9C75CA634AF}.Debug|x86.ActiveCfg = Debug|Any CPU + {B086BBF9-1A41-48C9-B019-F9C75CA634AF}.Debug|x86.Build.0 = Debug|Any CPU + {B086BBF9-1A41-48C9-B019-F9C75CA634AF}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B086BBF9-1A41-48C9-B019-F9C75CA634AF}.Release|Any CPU.Build.0 = Release|Any CPU + {B086BBF9-1A41-48C9-B019-F9C75CA634AF}.Release|x64.ActiveCfg = Release|Any CPU + {B086BBF9-1A41-48C9-B019-F9C75CA634AF}.Release|x64.Build.0 = Release|Any CPU + {B086BBF9-1A41-48C9-B019-F9C75CA634AF}.Release|x86.ActiveCfg = Release|Any CPU + {B086BBF9-1A41-48C9-B019-F9C75CA634AF}.Release|x86.Build.0 = Release|Any CPU + {9642EC3A-9BC3-4557-ACD1-807FE764D5F6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {9642EC3A-9BC3-4557-ACD1-807FE764D5F6}.Debug|Any CPU.Build.0 = Debug|Any CPU + {9642EC3A-9BC3-4557-ACD1-807FE764D5F6}.Debug|x64.ActiveCfg = Debug|Any CPU + {9642EC3A-9BC3-4557-ACD1-807FE764D5F6}.Debug|x64.Build.0 = Debug|Any CPU + {9642EC3A-9BC3-4557-ACD1-807FE764D5F6}.Debug|x86.ActiveCfg = Debug|Any CPU + {9642EC3A-9BC3-4557-ACD1-807FE764D5F6}.Debug|x86.Build.0 = Debug|Any CPU + {9642EC3A-9BC3-4557-ACD1-807FE764D5F6}.Release|Any CPU.ActiveCfg = Release|Any CPU + {9642EC3A-9BC3-4557-ACD1-807FE764D5F6}.Release|Any CPU.Build.0 = Release|Any CPU + {9642EC3A-9BC3-4557-ACD1-807FE764D5F6}.Release|x64.ActiveCfg = Release|Any CPU + {9642EC3A-9BC3-4557-ACD1-807FE764D5F6}.Release|x64.Build.0 = Release|Any CPU + {9642EC3A-9BC3-4557-ACD1-807FE764D5F6}.Release|x86.ActiveCfg = Release|Any CPU + {9642EC3A-9BC3-4557-ACD1-807FE764D5F6}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -92,6 +120,7 @@ Global GlobalSection(NestedProjects) = preSolution {BA052DAE-6FD1-483A-A0AF-DCBCF9E38C72} = {0AB3BF05-4346-4AA6-1389-037BE0695223} {E5EF5B92-52DA-4EF3-956B-8AEE3D333428} = {0AB3BF05-4346-4AA6-1389-037BE0695223} + {9642EC3A-9BC3-4557-ACD1-807FE764D5F6} = {0AB3BF05-4346-4AA6-1389-037BE0695223} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {EEE06B13-019F-4618-A6EB-FD834B6EA7D7} diff --git a/tests/ServiceLayer.Common.Tests/ServiceLayer.Common.Tests.csproj b/tests/ServiceLayer.Common.Tests/ServiceLayer.Common.Tests.csproj new file mode 100644 index 0000000..2394e71 --- /dev/null +++ b/tests/ServiceLayer.Common.Tests/ServiceLayer.Common.Tests.csproj @@ -0,0 +1,28 @@ + + + + net9.0 + enable + enable + false + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + + + + + + + + + + + diff --git a/tests/ServiceLayer.Mesh.Tests/Functions/FileDiscoveryFunctionTests.cs b/tests/ServiceLayer.Mesh.Tests/Functions/FileDiscoveryFunctionTests.cs index 3ce7373..cca2557 100644 --- a/tests/ServiceLayer.Mesh.Tests/Functions/FileDiscoveryFunctionTests.cs +++ b/tests/ServiceLayer.Mesh.Tests/Functions/FileDiscoveryFunctionTests.cs @@ -3,11 +3,11 @@ using Moq; using NHS.MESH.Client.Contracts.Services; using NHS.MESH.Client.Models; +using ServiceLayer.Data; +using ServiceLayer.Data.Models; using ServiceLayer.Mesh.Configuration; -using ServiceLayer.Mesh.Data; using ServiceLayer.Mesh.Functions; using ServiceLayer.Mesh.Messaging; -using ServiceLayer.Mesh.Models; namespace ServiceLayer.Mesh.Tests.Functions; diff --git a/tests/ServiceLayer.Mesh.Tests/Functions/FileExtractFunctionTests.cs b/tests/ServiceLayer.Mesh.Tests/Functions/FileExtractFunctionTests.cs index 1468af8..9b18d12 100644 --- a/tests/ServiceLayer.Mesh.Tests/Functions/FileExtractFunctionTests.cs +++ b/tests/ServiceLayer.Mesh.Tests/Functions/FileExtractFunctionTests.cs @@ -1,15 +1,14 @@ -using System.Globalization; using Google.Protobuf.WellKnownTypes; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Logging; using Moq; using NHS.MESH.Client.Contracts.Services; using NHS.MESH.Client.Models; +using ServiceLayer.Data; +using ServiceLayer.Data.Models; using ServiceLayer.Mesh.Configuration; -using ServiceLayer.Mesh.Data; using ServiceLayer.Mesh.Functions; using ServiceLayer.Mesh.Messaging; -using ServiceLayer.Mesh.Models; using ServiceLayer.Mesh.Storage; namespace ServiceLayer.Mesh.Tests.Functions; @@ -20,7 +19,6 @@ public class FileExtractFunctionTests private readonly Mock _meshInboxServiceMock; private readonly Mock _fileTransformQueueClientMock; private readonly Mock _fileExtractQueueClientMock; - private readonly Mock _configurationMock; private readonly Mock _blobStoreMock; private readonly ServiceLayerDbContext _dbContext; private readonly FileExtractFunction _function; @@ -32,7 +30,6 @@ public FileExtractFunctionTests() _fileExtractQueueClientMock = new Mock(); _fileTransformQueueClientMock = new Mock(); _blobStoreMock = new Mock(); - _configurationMock = new Mock(); var options = new DbContextOptionsBuilder() .UseInMemoryDatabase(Guid.NewGuid().ToString()) diff --git a/tests/ServiceLayer.Mesh.Tests/ServiceLayer.Mesh.Tests.csproj b/tests/ServiceLayer.Mesh.Tests/ServiceLayer.Mesh.Tests.csproj index 6c3d85a..4ab5782 100644 --- a/tests/ServiceLayer.Mesh.Tests/ServiceLayer.Mesh.Tests.csproj +++ b/tests/ServiceLayer.Mesh.Tests/ServiceLayer.Mesh.Tests.csproj @@ -9,7 +9,7 @@ - +