Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pauljohanneskraft committed Dec 3, 2024
1 parent 6cd05a7 commit e1bff97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions functions/src/services/trigger/triggerService.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ describeWithEmulators('TriggerService', (env) => {
const patientMessages = await env.collections
.userMessages(patientId)
.get()
expect(patientMessages.docs).to.have.length(3)
expect(patientMessages.docs).to.have.length(2)
const preAppointmentMessages = patientMessages.docs.filter(
(doc) => doc.data().type === UserMessageType.preAppointment,
)
Expand Down Expand Up @@ -133,7 +133,7 @@ describeWithEmulators('TriggerService', (env) => {
const patientMessages = await env.collections
.userMessages(patientId)
.get()
expect(patientMessages.docs).to.have.length(3)
expect(patientMessages.docs).to.have.length(2)
const preAppointmentMessages = patientMessages.docs.filter(
(doc) => doc.data().type === UserMessageType.preAppointment,
)
Expand Down

0 comments on commit e1bff97

Please sign in to comment.