Skip to content

Commit

Permalink
feat(api): add topic e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
tatarco committed Dec 9, 2024
1 parent 30f7da7 commit 899f010
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/api/src/app/topics/e2e/remove-subscribers.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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],
Expand Down

0 comments on commit 899f010

Please sign in to comment.