add videoID for segment inserter

This commit is contained in:
Michael C 2023-09-27 22:25:18 -04:00
parent a9ef3815e2
commit 5e3ec895d8
No known key found for this signature in database
GPG key ID: FFB04FB3B878B7B4

View file

@ -16,7 +16,7 @@ const users = genUsers("postClearCache", cases);
describe("postClearCache", () => {
before(async () => {
await insertVip(db, users["vip"].pubID);
await insertSegment(db, "clearSegments", "clear-test");
await insertSegment(db, "clearSegments", "clear-test", { videoID: "clear-test" });
});
it("Should be able to clear cache for existing video", () =>