mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-21 22:04:31 -04:00
New: Readarr 0.1
This commit is contained in:
@@ -12,16 +12,16 @@ namespace NzbDrone.Core.Test.ParserTests
|
||||
[TestFixture]
|
||||
public class ParserFixture : CoreTest
|
||||
{
|
||||
private Artist _artist = new Artist();
|
||||
private List<Album> _albums = new List<Album> { new Album() };
|
||||
private Author _artist = new Author();
|
||||
private List<Book> _albums = new List<Book> { new Book() };
|
||||
|
||||
[SetUp]
|
||||
public void Setup()
|
||||
{
|
||||
_artist = Builder<Artist>
|
||||
_artist = Builder<Author>
|
||||
.CreateNew()
|
||||
.Build();
|
||||
_albums = Builder<List<Album>>
|
||||
_albums = Builder<List<Book>>
|
||||
.CreateNew()
|
||||
.Build();
|
||||
}
|
||||
@@ -29,7 +29,7 @@ namespace NzbDrone.Core.Test.ParserTests
|
||||
private void GivenSearchCriteria(string artistName, string albumTitle)
|
||||
{
|
||||
_artist.Name = artistName;
|
||||
var a = new Album();
|
||||
var a = new Book();
|
||||
a.Title = albumTitle;
|
||||
_albums.Add(a);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user