mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-25 18:16:56 +01:00
18 lines
550 B
C#
18 lines
550 B
C#
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.");
|
|
// }
|
|
}
|