diff --git a/apps/judicial-system/backend/src/app/modules/notification/test/internalNotificationController/sendRulingNotifications.spec.ts b/apps/judicial-system/backend/src/app/modules/notification/test/internalNotificationController/sendRulingNotifications.spec.ts
index 5dbf89cd491b..d6351b07b9f6 100644
--- a/apps/judicial-system/backend/src/app/modules/notification/test/internalNotificationController/sendRulingNotifications.spec.ts
+++ b/apps/judicial-system/backend/src/app/modules/notification/test/internalNotificationController/sendRulingNotifications.spec.ts
@@ -9,6 +9,7 @@ import {
} from '@island.is/judicial-system/consts'
import {
CaseDecision,
+ CaseIndictmentRulingDecision,
CaseState,
CaseType,
NotificationType,
@@ -87,6 +88,7 @@ describe('InternalNotificationController - Send ruling notifications', () => {
type: CaseType.INDICTMENT,
courtCaseNumber: '007-2022-07',
court: { name: 'Héraðsdómur Reykjavíkur' },
+ indictmentRulingDecision: CaseIndictmentRulingDecision.MERGE,
prosecutor,
} as Case
@@ -101,7 +103,7 @@ describe('InternalNotificationController - Send ruling notifications', () => {
expect.objectContaining({
to: [{ name: prosecutor.name, address: prosecutor.email }],
subject: 'Máli lokið 007-2022-07',
- html: `Máli 007-2022-07 hjá Héraðsdómi Reykjavíkur hefur verið lokið.
Niðurstaða: Ekki skráð
Skjöl málsins eru aðgengileg á ${expectedLink}yfirlitssíðu málsins í Réttarvörslugátt.`,
+ html: `Máli 007-2022-07 hjá Héraðsdómi Reykjavíkur hefur verið lokið.
Niðurstaða: Sameinað
Skjöl málsins eru aðgengileg á ${expectedLink}yfirlitssíðu málsins í Réttarvörslugátt.`,
}),
)
})
diff --git a/libs/judicial-system/formatters/src/lib/formatters.ts b/libs/judicial-system/formatters/src/lib/formatters.ts
index b87283fc7de5..a25433fc0ffd 100644
--- a/libs/judicial-system/formatters/src/lib/formatters.ts
+++ b/libs/judicial-system/formatters/src/lib/formatters.ts
@@ -124,6 +124,8 @@ export const getHumanReadableCaseIndictmentRulingDecision = (
return 'Frávísun'
case CaseIndictmentRulingDecision.CANCELLATION:
return 'Niðurfelling máls'
+ case CaseIndictmentRulingDecision.MERGE:
+ return 'Sameinað'
default:
return 'Ekki skráð'
}