aboutsummaryrefslogtreecommitdiff
path: root/tests/Jellyfin.Server.Implementations.Tests/EfMigrations/EfMigrationTests.cs
blob: 54d5d2adf8290f616cc37066bbb2d96c699d099d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
using System;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Xunit;

namespace Jellyfin.Server.Implementations.Tests.EfMigrations;

public class EfMigrationTests
{
    // [Fact]
    // public void CheckForUnappliedMigrations()
    // {
    //     var dbDesignContext = new DesignTimeJellyfinDbFactory();
    //     var context = dbDesignContext.CreateDbContext([]);
    //     Assert.False(context.Database.HasPendingModelChanges(), "There are unapplied changes to the EfCore model. Please create a Migration.");
    // }
}