public NoteRepositoryIntegrationTests() { _options = PersistenceHelper.BuildOptions("TestDbConnectionString"); var context = new NexusContext(PersistenceHelper.BuildOptions("TestDbConnectionString")); context.Database.EnsureDeleted(); context.Database.Migrate(); context.Dispose(); }