mirror of
https://github.com/rmcrackan/Libation.git
synced 2026-09-20 11:32:25 -04:00
Fix Audiobookshelf PDF upload test setup
Create temporary AccountsSettings.json required by cover-art filename generation, fixing the missing-file failure in CI. Refs #2044
This commit is contained in:
1 parent
cd8f3df939
commit
cc819b4bf9
1 file changed
+2
@@ -304,6 +304,8 @@ public class UploadToAudiobookshelfTests
|
||||
{
|
||||
var config = ConfiguredForAudiobookshelf();
|
||||
config.Books = directory;
|
||||
// Cover-art naming reads account nicknames, even when no cover exists.
|
||||
AudibleUtilities.AudibleApiStorage.EnsureAccountsSettingsFileExists();
|
||||
var book = LibraryBookWith(LiberatedStatus.Liberated);
|
||||
var audio = Path.Combine(directory, "B0TEST0001.m4b");
|
||||
var pdf = Path.Combine(directory, "supplement.pdf");
|
||||
|
||||
Reference in new issue
Block a user