Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

TestProcessorAccessor.cs

using FluentMigrator;
using FluentMigrator.Runner.Processors;
using Nop.Data.Migrations;

namespace Nop.Tests;

/// 
/// An  implementation that selects one generator by data settings
/// 
public class TestProcessorAccessor : NopProcessorAccessor
{
    #region Ctor

    public TestProcessorAccessor(IEnumerable processors) : base(processors)
    {
    }

    #endregion

    #region Utilities

    /// 
    /// Configure processor
    /// 
    /// Collection of migration processors
    protected override void ConfigureProcessor(IList processors)
    {
        Processor = FindGenerator(processors, "SQLite");
    }

    #endregion
}