mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 14:03:29 -07:00
Fixed spelling for Expected[LogType].
Fixed broken tests for GetEpisodesByParseResult.
This commit is contained in:
parent
77bf257132
commit
69ddeeb0e3
20 changed files with 46 additions and 43 deletions
|
@ -28,9 +28,9 @@ namespace NzbDrone.Test.Common
|
|||
|
||||
public static void AssertNoUnexcpectedLogs()
|
||||
{
|
||||
ExcpectedFatals(0);
|
||||
ExcpectedErrors(0);
|
||||
ExcpectedWarns(0);
|
||||
ExpectedFatals(0);
|
||||
ExpectedErrors(0);
|
||||
ExpectedWarns(0);
|
||||
}
|
||||
|
||||
private static string GetLogsString(IEnumerable<LogEventInfo> logs)
|
||||
|
@ -49,17 +49,17 @@ namespace NzbDrone.Test.Common
|
|||
return errors;
|
||||
}
|
||||
|
||||
public static void ExcpectedErrors(int count)
|
||||
public static void ExpectedErrors(int count)
|
||||
{
|
||||
Excpected(LogLevel.Error, count);
|
||||
}
|
||||
|
||||
public static void ExcpectedFatals(int count)
|
||||
public static void ExpectedFatals(int count)
|
||||
{
|
||||
Excpected(LogLevel.Fatal, count);
|
||||
}
|
||||
|
||||
public static void ExcpectedWarns(int count)
|
||||
public static void ExpectedWarns(int count)
|
||||
{
|
||||
Excpected(LogLevel.Warn, count);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue