Skip to content

Commit

Permalink
Removes unused entity mappers.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Pluskal committed Apr 21, 2023
1 parent fc5ecd4 commit 7eff3b6
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/CookBook/CookBook.BL.Tests/FacadeTestsBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@ protected FacadeTestsBase(ITestOutputHelper output)
// DbContextFactory = new DbContextLocalDBTestingFactory(GetType().FullName!, seedTestingData: true);
DbContextFactory = new DbContextSqLiteTestingFactory(GetType().FullName!, seedTestingData: true);

IngredientEntityMapper = new IngredientEntityMapper();
IngredientAmountEntityMapper = new IngredientAmountEntityMapper();
RecipeEntityMapper = new RecipeEntityMapper();

IngredientModelMapper = new IngredientModelMapper();
IngredientAmountModelMapper = new IngredientAmountModelMapper();
RecipeModelMapper = new RecipeModelMapper(IngredientAmountModelMapper);
Expand All @@ -36,10 +32,6 @@ protected FacadeTestsBase(ITestOutputHelper output)

protected IDbContextFactory<CookBookDbContext> DbContextFactory { get; }

protected IngredientEntityMapper IngredientEntityMapper { get; }
protected IngredientAmountEntityMapper IngredientAmountEntityMapper { get; }
protected RecipeEntityMapper RecipeEntityMapper { get; }

protected IIngredientModelMapper IngredientModelMapper { get; }
protected IngredientAmountModelMapper IngredientAmountModelMapper { get; }
protected IRecipeModelMapper RecipeModelMapper { get; }
Expand Down

0 comments on commit 7eff3b6

Please sign in to comment.