From 9a0373df6793afcb4d46bf42f47a738e25dfc2f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=92=D0=B8=D1=82=D0=B0=D0=BB=D0=B8=D0=B9=20=D0=9A=D0=B2?= =?UTF-8?q?=D0=B0=D1=88=D0=B8=D0=BD?= Date: Sun, 6 Aug 2023 23:05:04 +0400 Subject: [PATCH] #5 Fix UnitTests paths --- .../Providers/AZLyrics/AZLyricsProviderTest.cs | 2 +- .../Providers/AZLyrics/test_data.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Tests/LyricsScraperNET.UnitTest/Providers/AZLyrics/AZLyricsProviderTest.cs b/Tests/LyricsScraperNET.UnitTest/Providers/AZLyrics/AZLyricsProviderTest.cs index fee03b1..54f8d0a 100644 --- a/Tests/LyricsScraperNET.UnitTest/Providers/AZLyrics/AZLyricsProviderTest.cs +++ b/Tests/LyricsScraperNET.UnitTest/Providers/AZLyrics/AZLyricsProviderTest.cs @@ -14,7 +14,7 @@ namespace LyricsScraperNET.UnitTest.Providers.AZLyrics [TestClass] public class AZLyricsProviderTest { - private static readonly string[] TEST_DATA_PATH = { "AZLyrics", "test_data.json" }; + private static readonly string[] TEST_DATA_PATH = { "Providers", "AZLyrics", "test_data.json" }; [TestMethod] [DynamicData(nameof(GetTestData), DynamicDataSourceType.Method)] diff --git a/Tests/LyricsScraperNET.UnitTest/Providers/AZLyrics/test_data.json b/Tests/LyricsScraperNET.UnitTest/Providers/AZLyrics/test_data.json index 64831a5..6f0ead0 100644 --- a/Tests/LyricsScraperNET.UnitTest/Providers/AZLyrics/test_data.json +++ b/Tests/LyricsScraperNET.UnitTest/Providers/AZLyrics/test_data.json @@ -1,7 +1,7 @@ [ { - "LyricPagePath": "AZLyrics/Resources/Lyrics_HtmlPage_01.txt", - "LyricResultPath": "AZLyrics/Resources/Lyrics_Result_01.txt", + "LyricPagePath": "Providers/AZLyrics/Resources/Lyrics_HtmlPage_01.txt", + "LyricResultPath": "Providers/AZLyrics/Resources/Lyrics_Result_01.txt", "ArtistName": "Parkway Drive", "SongName": "Wishing Wells", "SongUri": null