From 4368b3f0474c43c717f9fc96fbae0b3854bac50f Mon Sep 17 00:00:00 2001 From: crupest Date: Sun, 25 Dec 2022 14:52:46 +0800 Subject: Add migration. --- .../CrupestApi/CrupestApi.Commons.Tests/Crud/CrudServiceTest.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docker/crupest-api/CrupestApi/CrupestApi.Commons.Tests/Crud/CrudServiceTest.cs') diff --git a/docker/crupest-api/CrupestApi/CrupestApi.Commons.Tests/Crud/CrudServiceTest.cs b/docker/crupest-api/CrupestApi/CrupestApi.Commons.Tests/Crud/CrudServiceTest.cs index 284dbe2..ad0d34c 100644 --- a/docker/crupest-api/CrupestApi/CrupestApi.Commons.Tests/Crud/CrudServiceTest.cs +++ b/docker/crupest-api/CrupestApi/CrupestApi.Commons.Tests/Crud/CrudServiceTest.cs @@ -1,3 +1,4 @@ +using CrupestApi.Commons.Crud.Migrations; using Microsoft.Extensions.Logging.Abstractions; namespace CrupestApi.Commons.Crud.Tests; @@ -15,7 +16,7 @@ public class CrudServiceTest var dbConnectionFactory = new SqliteMemoryConnectionFactory(); _crudService = new CrudService( - tableInfoFactory, dbConnectionFactory, NullLoggerFactory.Instance); + tableInfoFactory, dbConnectionFactory, new SqliteDatabaseMigrator(), NullLoggerFactory.Instance); } [Fact] -- cgit v1.2.3