Skip to content

Commit

Permalink
Polish 7 (#3381)
Browse files Browse the repository at this point in the history
  • Loading branch information
majora2007 authored Nov 20, 2024
1 parent cb810a2 commit 3e3b6ba
Show file tree
Hide file tree
Showing 26 changed files with 1,629 additions and 210 deletions.
4 changes: 4 additions & 0 deletions API.Tests/AbstractDbTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
using API.Helpers.Builders;
using API.Services;
using AutoMapper;
using Hangfire;
using Microsoft.AspNetCore.Identity;
using Microsoft.Data.Sqlite;
using Microsoft.EntityFrameworkCore;
Expand Down Expand Up @@ -48,6 +49,9 @@ protected AbstractDbTest()
var config = new MapperConfiguration(cfg => cfg.AddProfile<AutoMapperProfiles>());
var mapper = config.CreateMapper();

// Set up Hangfire to use in-memory storage for testing
GlobalConfiguration.Configuration.UseInMemoryStorage();


_unitOfWork = new UnitOfWork(_context, mapper, null);
}
Expand Down
Loading

0 comments on commit 3e3b6ba

Please sign in to comment.