Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsoderberg committed Sep 8, 2023
1 parent 331b741 commit b22e39f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/api/src/app/events/e2e/trigger-event.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ describe(`Trigger event - ${eventTriggerPath} (POST)`, function () {
_environmentId: session.environment._id,
conditions: [
{
children: [{ field: 'identifier', value: 'test', operator: 'EQUAL', on: 'tenant' }],
children: [{ field: 'identifier', value: 'test1', operator: 'EQUAL', on: 'tenant' }],
},
],
active: true,
Expand All @@ -124,7 +124,7 @@ describe(`Trigger event - ${eventTriggerPath} (POST)`, function () {

template = await createTemplate(session, ChannelTypeEnum.EMAIL);

const result = await sendTrigger(session, template, subscriber.subscriberId, {}, {}, 'test');
const result = await sendTrigger(session, template, subscriber.subscriberId, {}, {}, 'test1');

expect(result.data.data.status).to.equal('no_tenant_found');
});
Expand Down

0 comments on commit b22e39f

Please sign in to comment.