From 42fd401affb8005348481e9e866e70eac1c80049 Mon Sep 17 00:00:00 2001 From: Robert Dailey Date: Sun, 17 Dec 2023 15:24:15 -0600 Subject: [PATCH] test: Remove TestAppData --- tests/Recyclarr.Cli.Tests/LogJanitorTest.cs | 4 ++-- tests/Recyclarr.Tests.TestLibrary/TestAppPaths.cs | 6 ------ 2 files changed, 2 insertions(+), 8 deletions(-) delete mode 100644 tests/Recyclarr.Tests.TestLibrary/TestAppPaths.cs diff --git a/tests/Recyclarr.Cli.Tests/LogJanitorTest.cs b/tests/Recyclarr.Cli.Tests/LogJanitorTest.cs index ae66ed15..65bb7a42 100644 --- a/tests/Recyclarr.Cli.Tests/LogJanitorTest.cs +++ b/tests/Recyclarr.Cli.Tests/LogJanitorTest.cs @@ -1,6 +1,6 @@ using System.IO.Abstractions; using Recyclarr.Cli.Logging; -using Recyclarr.Tests.TestLibrary; +using Recyclarr.Platform; namespace Recyclarr.Cli.Tests; @@ -10,7 +10,7 @@ public class LogJanitorTest [Test, AutoMockData] public void Keep_correct_number_of_newest_log_files( [Frozen(Matching.ImplementedInterfaces)] MockFileSystem fs, - [Frozen(Matching.ImplementedInterfaces)] TestAppPaths paths, + [Frozen(Matching.ImplementedInterfaces)] AppPaths paths, LogJanitor janitor) { var testFiles = new[] diff --git a/tests/Recyclarr.Tests.TestLibrary/TestAppPaths.cs b/tests/Recyclarr.Tests.TestLibrary/TestAppPaths.cs deleted file mode 100644 index 173c6642..00000000 --- a/tests/Recyclarr.Tests.TestLibrary/TestAppPaths.cs +++ /dev/null @@ -1,6 +0,0 @@ -using System.IO.Abstractions; -using Recyclarr.Platform; - -namespace Recyclarr.Tests.TestLibrary; - -public sealed class TestAppPaths(IFileSystem fs) : AppPaths(fs.CurrentDirectory().SubDirectory("app"));