diff --git a/Kyoo.CommonAPI/LocalRepository.cs b/Kyoo.CommonAPI/LocalRepository.cs index 8e78964f..c1e14a6e 100644 --- a/Kyoo.CommonAPI/LocalRepository.cs +++ b/Kyoo.CommonAPI/LocalRepository.cs @@ -42,19 +42,6 @@ namespace Kyoo.Controllers /// public Type RepositoryType => typeof(T); - /// - public virtual void Dispose() - { - Database.Dispose(); - GC.SuppressFinalize(this); - } - - /// - public virtual ValueTask DisposeAsync() - { - return Database.DisposeAsync(); - } - /// /// Get a resource from it's ID and make the instance track it. /// diff --git a/Kyoo.Tests/Library/SetupTests.cs b/Kyoo.Tests/Library/SetupTests.cs index 15b5d2d5..e1852a17 100644 --- a/Kyoo.Tests/Library/SetupTests.cs +++ b/Kyoo.Tests/Library/SetupTests.cs @@ -5,6 +5,9 @@ namespace Kyoo.Tests { public class SetupTests { + // TODO test libraries & repositories via a on-memory SQLite database. + // TODO Requires: Kyoo should be database agonistic and database implementations should be available via a plugin. + // [Fact] // public void Get_Test() // {