Lots of Bugfixes (#2356)
This commit is contained in:
parent
86e931dd9a
commit
226d6831df
47 changed files with 359 additions and 225 deletions
|
|
@ -1,5 +1,6 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Data.Common;
|
||||
using System.Globalization;
|
||||
using System.IO.Abstractions.TestingHelpers;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
|
@ -1219,7 +1220,7 @@ public class ReaderServiceTests
|
|||
|
||||
var prevChapter = await _readerService.GetPrevChapterIdAsync(1, 2,5, 1);
|
||||
var chapterInfoDto = await _unitOfWork.ChapterRepository.GetChapterInfoDtoAsync(prevChapter);
|
||||
Assert.Equal(1, float.Parse(chapterInfoDto.ChapterNumber));
|
||||
Assert.Equal(1, chapterInfoDto.ChapterNumber.AsFloat());
|
||||
|
||||
// This is first chapter of first volume
|
||||
prevChapter = await _readerService.GetPrevChapterIdAsync(1, 2,4, 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue