mirror of
https://github.com/zoriya/Kyoo.git
synced 2026-05-29 18:03:33 +00:00
Fix tests
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
|
||||
<PropertyGroup Condition="$(CheckCodingStyle) == true">
|
||||
<CodeAnalysisRuleSet>$(MSBuildThisFileDirectory)../Kyoo.ruleset</CodeAnalysisRuleSet>
|
||||
<NoWarn>1591;1305;8618;SYSLIB1045</NoWarn>
|
||||
<NoWarn>1591;1305;8618;SYSLIB1045;CS1573</NoWarn>
|
||||
<!-- <AnalysisMode>All</AnalysisMode> -->
|
||||
</PropertyGroup>
|
||||
|
||||
|
||||
@@ -54,7 +54,7 @@ namespace Kyoo.Tests.Database
|
||||
MovieRepository movies = new(_NewContext(), studio, people, thumbs.Object);
|
||||
ShowRepository show = new(_NewContext(), studio, people, thumbs.Object);
|
||||
SeasonRepository season = new(_NewContext(), thumbs.Object);
|
||||
LibraryItemRepository libraryItem = new(_NewConnection());
|
||||
LibraryItemRepository libraryItem = new(_NewConnection(), new(null));
|
||||
EpisodeRepository episode = new(_NewContext(), show, thumbs.Object);
|
||||
UserRepository user = new(_NewContext(), thumbs.Object);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user