From a85b2adfa976db60852e0bbc825c08db02210c43 Mon Sep 17 00:00:00 2001
From: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
Date: Sun, 24 Mar 2024 17:13:51 -0400
Subject: [PATCH] tests: parametrize tests using theories (#272)
---
.../FixtureJellyfinServer.cs | 113 ++--
.../TestThemerrController.cs | 57 +-
.../TestThemerrManager.cs | 569 ++++++++----------
3 files changed, 323 insertions(+), 416 deletions(-)
diff --git a/Jellyfin.Plugin.Themerr.Tests/FixtureJellyfinServer.cs b/Jellyfin.Plugin.Themerr.Tests/FixtureJellyfinServer.cs
index 25ab6a6..1989f57 100644
--- a/Jellyfin.Plugin.Themerr.Tests/FixtureJellyfinServer.cs
+++ b/Jellyfin.Plugin.Themerr.Tests/FixtureJellyfinServer.cs
@@ -12,10 +12,25 @@ namespace Jellyfin.Plugin.Themerr.Tests;
public class FixtureJellyfinServer
{
///
- /// Mock media items to use for testing
+ /// Gets a list of mock items.
+ ///
+ public static IEnumerable