From 36105795902a011d6845cfea3a16f409e54ddb33 Mon Sep 17 00:00:00 2001 From: Renan Castro Date: Thu, 16 May 2024 21:57:37 -0300 Subject: [PATCH] fix: package versions --- tests/hijack/redis_oplog.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/hijack/redis_oplog.js b/tests/hijack/redis_oplog.js index 7adba6ed..076108f1 100644 --- a/tests/hijack/redis_oplog.js +++ b/tests/hijack/redis_oplog.js @@ -1,6 +1,6 @@ import { sleep } from '../../lib/utils'; import { TestData, TestDataRedis, TestDataRedisNoRaceProtection } from '../_helpers/globals'; -import {GetMeteorClient, SubscribeAndWait, RegisterPublication, FindMetricsForPub, addTestWithRoundedTime, getMeteorClient, registerMethod, registerPublication, subscribeAndWait } from '../_helpers/helpers'; +import { FindMetricsForPub, GetMeteorClient, SubscribeAndWait, addTestWithRoundedTime, getMeteorClient, registerMethod, registerPublication, subscribeAndWait } from '../_helpers/helpers'; /** * We only track the observers coming from subscriptions (which have `ownerInfo`) @@ -198,7 +198,7 @@ addTestWithRoundedTime('Database - Redis Oplog - Without protect against race co }); addTestWithRoundedTime('Database - Redis Oplog - Removed', async function (test) { - const pub = RegisterPublication(() => TestData.find({})); + const pub = registerPublication(() => TestData.find({})); await TestData.removeAsync({}); @@ -236,7 +236,7 @@ addTestWithRoundedTime('Database - Redis Oplog - Removed', async function (test) }); addTestWithRoundedTime('Database - Redis Oplog - Changed', async function (test) { - const pub = RegisterPublication(() => TestData.find({})); + const pub = registerPublication(() => TestData.find({})); await TestData.removeAsync({});