fix(syncing-server): another spec
This commit is contained in:
parent
94467747ac
commit
3d5e747590
1 changed files with 5 additions and 1 deletions
|
@ -6,6 +6,7 @@ import {
|
|||
NotificationPayload,
|
||||
NotificationType,
|
||||
SharedVaultUser,
|
||||
NotificationPayloadIdentifierType,
|
||||
} from '@standardnotes/domain-core'
|
||||
import { SharedVaultUserRepositoryInterface } from '../../../SharedVault/User/SharedVaultUserRepositoryInterface'
|
||||
import { AddNotificationForUser } from '../AddNotificationForUser/AddNotificationForUser'
|
||||
|
@ -35,7 +36,10 @@ describe('AddNotificationsForUsers', () => {
|
|||
addNotificationForUser.execute = jest.fn().mockResolvedValue(Result.ok())
|
||||
|
||||
payload = NotificationPayload.create({
|
||||
sharedVaultUuid: Uuid.create('0e8c3c7e-3f1a-4f7a-9b5a-5b2b0a7d4b1e').getValue(),
|
||||
primaryIdentifier: Uuid.create('0e8c3c7e-3f1a-4f7a-9b5a-5b2b0a7d4b1e').getValue(),
|
||||
primaryIndentifierType: NotificationPayloadIdentifierType.create(
|
||||
NotificationPayloadIdentifierType.TYPES.SharedVaultUuid,
|
||||
).getValue(),
|
||||
type: NotificationType.create(NotificationType.TYPES.SharedVaultFileUploaded).getValue(),
|
||||
version: '1.0',
|
||||
}).getValue()
|
||||
|
|
Loading…
Reference in a new issue