diff options
author | crupest <crupest@outlook.com> | 2022-12-25 14:52:46 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-12-25 14:53:58 +0800 |
commit | 4368b3f0474c43c717f9fc96fbae0b3854bac50f (patch) | |
tree | 0004822a2ea7a987176e28396c7cc74cb61ef692 /docker/crupest-api/CrupestApi/CrupestApi.Commons.Tests/Crud/CrudServiceTest.cs | |
parent | 96330e77cf13c690232c2c269d244d1ff62ff544 (diff) | |
download | crupest-4368b3f0474c43c717f9fc96fbae0b3854bac50f.tar.gz crupest-4368b3f0474c43c717f9fc96fbae0b3854bac50f.tar.bz2 crupest-4368b3f0474c43c717f9fc96fbae0b3854bac50f.zip |
Add migration.
Diffstat (limited to 'docker/crupest-api/CrupestApi/CrupestApi.Commons.Tests/Crud/CrudServiceTest.cs')
-rw-r--r-- | docker/crupest-api/CrupestApi/CrupestApi.Commons.Tests/Crud/CrudServiceTest.cs | 3 |
1 files changed, 2 insertions, 1 deletions
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<TestEntity>( - tableInfoFactory, dbConnectionFactory, NullLoggerFactory.Instance); + tableInfoFactory, dbConnectionFactory, new SqliteDatabaseMigrator(), NullLoggerFactory.Instance); } [Fact] |