From 899f0105fb80b2e8b269847580bf99f5e8a0ac67 Mon Sep 17 00:00:00 2001 From: GalT <39020298+tatarco@users.noreply.github.com> Date: Mon, 9 Dec 2024 08:40:36 +0100 Subject: [PATCH] feat(api): add topic e2e --- apps/api/src/app/topics/e2e/remove-subscribers.e2e.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/src/app/topics/e2e/remove-subscribers.e2e.ts b/apps/api/src/app/topics/e2e/remove-subscribers.e2e.ts index 9b6315aa0e8a..9f1b27ea3ac9 100644 --- a/apps/api/src/app/topics/e2e/remove-subscribers.e2e.ts +++ b/apps/api/src/app/topics/e2e/remove-subscribers.e2e.ts @@ -25,6 +25,7 @@ describe('Remove subscribers to topic - /topics/:topicKey/subscribers/removal (P subscriber = await subscriberService.createSubscriber(); secondSubscriber = await subscriberService.createSubscriber(); thirdSubscriber = await subscriberService.createSubscriber(); + novuClient = initNovuClassSdk(session); const response = await novuClient.topics.create({ key: topicKey, @@ -39,7 +40,6 @@ describe('Remove subscribers to topic - /topics/:topicKey/subscribers/removal (P removeSubscribersUrl = `${addSubscribersUrl}/removal`; // We prefill the data to work with - novuClient = initNovuClassSdk(session); await novuClient.topics.subscribers.assign( { subscribers: [subscriber.subscriberId, secondSubscriber.subscriberId, thirdSubscriber.subscriberId],