mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-31 14:27:57 +01:00 
			
		
		
		
	Add an option to refresh all tracking metadata
This commit is contained in:
		| @@ -96,7 +96,8 @@ class LibraryUpdateServiceTest { | ||||
|         `when`(source.fetchChapterList(favManga[2])).thenReturn(Observable.just(chapters3)) | ||||
|  | ||||
|         val intent = Intent() | ||||
|         service.updateChapterList(service.getMangaToUpdate(intent)).subscribe() | ||||
|         val target = LibraryUpdateService.Target.CHAPTERS | ||||
|         service.updateChapterList(service.getMangaToUpdate(intent, target)).subscribe() | ||||
|  | ||||
|         // There are 3 network attempts and 2 insertions (1 request failed) | ||||
|         assertThat(service.db.getChapters(favManga[0]).executeAsBlocking()).hasSize(2) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user