Secure Sakani portal and show full album titles

This commit is contained in:
Leon Tonhäuser committed 2026-11-30 19:14:57 +01:00
1 parent c40ccf77cf
commit 69264ce165
49 files changed
+1362 -601

No files matched your search

+4 -4
View File
@@ -66,7 +66,7 @@ test("a no-byte new failure retains the attempt and voids its billable usage", a
});
const repeats = createDownloadService({
repository: createRepeatDownloadRepository(testDb.database),
repository: createRepeatDownloadRepository(testDb.database, async () => undefined),
});
await expect(
repeats.createRepeatDownload({
@@ -80,7 +80,7 @@ test("a no-byte new failure retains the attempt and voids its billable usage", a
test("rejects a free repeat until a new-usage original delivered bytes", async () => {
const seed = await testDb.seedEditorialWithUsage();
const repeats = createDownloadService({
repository: createRepeatDownloadRepository(testDb.database),
repository: createRepeatDownloadRepository(testDb.database, async () => undefined),
});
await expect(
@@ -106,7 +106,7 @@ test.each(["completed", "interrupted"] as const)(
await delivery.markInterrupted(originalId, 80);
}
const repeats = createDownloadService({
repository: createRepeatDownloadRepository(testDb.database),
repository: createRepeatDownloadRepository(testDb.database, async () => undefined),
});
const repeat = await repeats.createRepeatDownload({
@@ -136,7 +136,7 @@ test("a later new-use void invalidates a pre-authorized eligible repeat", async
await delivery.markCompleted(originalId, 120);
await delivery.claimAuthorized(seed.editorialId, failingNewId);
const repeats = createDownloadService({
repository: createRepeatDownloadRepository(testDb.database),
repository: createRepeatDownloadRepository(testDb.database, async () => undefined),
});
const repeatKey = randomUUID();
const repeatInput = {