mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-04-24 05:57:20 -04:00
Fix tests
This commit is contained in:
parent
293bcfb342
commit
b369194710
3 changed files with 10 additions and 1 deletions
|
@ -43,6 +43,9 @@ public class AudioResolverTests
|
|||
MediaStreams = new List<MediaStream>
|
||||
{
|
||||
new()
|
||||
{
|
||||
Type = MediaStreamType.Audio
|
||||
}
|
||||
}
|
||||
}));
|
||||
|
||||
|
|
|
@ -359,7 +359,10 @@ public class MediaInfoResolverTests
|
|||
var mediaStreams = new List<MediaStream>();
|
||||
for (int i = 0; i < streamCount; i++)
|
||||
{
|
||||
mediaStreams.Add(new());
|
||||
mediaStreams.Add(new()
|
||||
{
|
||||
Type = MediaStreamType.Subtitle
|
||||
});
|
||||
}
|
||||
|
||||
return mediaStreams;
|
||||
|
|
|
@ -43,6 +43,9 @@ public class SubtitleResolverTests
|
|||
MediaStreams = new List<MediaStream>
|
||||
{
|
||||
new()
|
||||
{
|
||||
Type = MediaStreamType.Subtitle
|
||||
}
|
||||
}
|
||||
}));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue