mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-07-09 03:04:19 -04:00
[skip ci] Fixed: Fix xUnit missing annotation warnings (#2324)
This commit is contained in:
parent
e1c9db05a8
commit
961520a612
@ -156,7 +156,7 @@ public class ArchiveServiceTests
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//[Theory]
|
[Theory(Skip = "No specific reason")]
|
||||||
//[InlineData("v10.cbz", "v10.expected.png")] // Commented out as these break usually when NetVips is updated
|
//[InlineData("v10.cbz", "v10.expected.png")] // Commented out as these break usually when NetVips is updated
|
||||||
//[InlineData("v10 - with folder.cbz", "v10 - with folder.expected.png")]
|
//[InlineData("v10 - with folder.cbz", "v10 - with folder.expected.png")]
|
||||||
//[InlineData("v10 - nested folder.cbz", "v10 - nested folder.expected.png")]
|
//[InlineData("v10 - nested folder.cbz", "v10 - nested folder.expected.png")]
|
||||||
@ -189,7 +189,7 @@ public class ArchiveServiceTests
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//[Theory]
|
[Theory(Skip = "No specific reason")]
|
||||||
//[InlineData("v10.cbz", "v10.expected.png")] // Commented out as these break usually when NetVips is updated
|
//[InlineData("v10.cbz", "v10.expected.png")] // Commented out as these break usually when NetVips is updated
|
||||||
//[InlineData("v10 - with folder.cbz", "v10 - with folder.expected.png")]
|
//[InlineData("v10 - with folder.cbz", "v10 - with folder.expected.png")]
|
||||||
//[InlineData("v10 - nested folder.cbz", "v10 - nested folder.expected.png")]
|
//[InlineData("v10 - nested folder.cbz", "v10 - nested folder.expected.png")]
|
||||||
@ -375,7 +375,7 @@ public class ArchiveServiceTests
|
|||||||
|
|
||||||
#region CreateZipForDownload
|
#region CreateZipForDownload
|
||||||
|
|
||||||
//[Fact]
|
[Fact(Skip = "No specific reason")]
|
||||||
public void CreateZipForDownloadTest()
|
public void CreateZipForDownloadTest()
|
||||||
{
|
{
|
||||||
var fileSystem = new MockFileSystem();
|
var fileSystem = new MockFileSystem();
|
||||||
|
@ -876,6 +876,7 @@ public class ReadingListServiceTests
|
|||||||
|
|
||||||
#region UserHasReadingListAccess
|
#region UserHasReadingListAccess
|
||||||
// TODO: UserHasReadingListAccess tests are unavailable because I can't mock UserManager<AppUser>
|
// TODO: UserHasReadingListAccess tests are unavailable because I can't mock UserManager<AppUser>
|
||||||
|
[Fact(Skip = "Unable to mock UserManager<AppUser>")]
|
||||||
public async Task UserHasReadingListAccess_ShouldWorkIfTheirList()
|
public async Task UserHasReadingListAccess_ShouldWorkIfTheirList()
|
||||||
{
|
{
|
||||||
await ResetDb();
|
await ResetDb();
|
||||||
@ -889,7 +890,7 @@ public class ReadingListServiceTests
|
|||||||
Assert.Single(userWithList.ReadingLists);
|
Assert.Single(userWithList.ReadingLists);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Fact(Skip = "Unable to mock UserManager<AppUser>")]
|
||||||
public async Task UserHasReadingListAccess_ShouldNotWork_IfNotTheirList()
|
public async Task UserHasReadingListAccess_ShouldNotWork_IfNotTheirList()
|
||||||
{
|
{
|
||||||
await ResetDb();
|
await ResetDb();
|
||||||
@ -902,7 +903,7 @@ public class ReadingListServiceTests
|
|||||||
Assert.Null(userWithList);
|
Assert.Null(userWithList);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Fact(Skip = "Unable to mock UserManager<AppUser>")]
|
||||||
public async Task UserHasReadingListAccess_ShouldWork_IfNotTheirList_ButUserIsAdmin()
|
public async Task UserHasReadingListAccess_ShouldWork_IfNotTheirList_ButUserIsAdmin()
|
||||||
{
|
{
|
||||||
await ResetDb();
|
await ResetDb();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user