mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-07-07 10:14:13 -04:00
Cleaning up
This commit is contained in:
parent
1bcd587401
commit
a4b4622fa5
@ -42,19 +42,6 @@ namespace Kyoo.Controllers
|
||||
/// <inheritdoc/>
|
||||
public Type RepositoryType => typeof(T);
|
||||
|
||||
/// <inheritdoc/>
|
||||
public virtual void Dispose()
|
||||
{
|
||||
Database.Dispose();
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
public virtual ValueTask DisposeAsync()
|
||||
{
|
||||
return Database.DisposeAsync();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get a resource from it's ID and make the <see cref="Database"/> instance track it.
|
||||
/// </summary>
|
||||
|
@ -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()
|
||||
// {
|
||||
|
Loading…
x
Reference in New Issue
Block a user