Преглед на файлове

Fix chapter recognition tests

inorichi преди 9 години
родител
ревизия
1d5e8e02d3
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      app/src/test/java/eu/kanade/mangafeed/ChapterRecognitionTest.java

+ 1 - 1
app/src/test/java/eu/kanade/mangafeed/ChapterRecognitionTest.java

@@ -15,7 +15,7 @@ public class ChapterRecognitionTest {
     Manga randomManga;
 
     private Chapter createChapter(String title) {
-        Chapter chapter = new Chapter();
+        Chapter chapter = Chapter.create();
         chapter.name = title;
         return chapter;
     }