[skip ci] Reduce warnings during tests (#2318)

This commit is contained in:
Alex Tan 2023-10-18 01:43:21 +11:00 committed by GitHub
parent 48d86cde39
commit cd3a15fa3b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 29 additions and 28 deletions

View file

@ -20,11 +20,13 @@ using Xunit;
namespace API.Tests.Repository;
#nullable enable
public class SeriesRepositoryTests
{
private readonly IUnitOfWork _unitOfWork;
private readonly DbConnection _connection;
private readonly DbConnection? _connection;
private readonly DataContext _context;
private const string CacheDirectory = "C:/kavita/config/cache/";