Skip to content

Commit e7eb35a

Browse files
committed
lock tempVIP segments
1 parent 0339ba6 commit e7eb35a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/cases/tempVip.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ describe("tempVIP test", function() {
6565
if (!config.redis?.enabled) this.skip();
6666
// insert segments
6767
insertSegment(db, { videoID: "channelid-convert", UUID: targetChannelUUID });
68-
insertSegment(db, { videoID: "channelid-convert", UUID: targetChannelUUID, userID: tempVIP1.pubID });
69-
insertSegment(db, { videoID: "otherchannel", UUID: otherChannelUUID });
68+
insertSegment(db, { videoID: "channelid-convert", userID: tempVIP1.pubID, locked: true });
69+
insertSegment(db, { videoID: "otherchannel", UUID: otherChannelUUID, locked: true });
7070
// add vip user
7171
insertVipUser(db, permVIP1);
7272
insertVipUser(db, permVIP2);

0 commit comments

Comments
 (0)