mirror of
https://github.com/immich-app/immich.git
synced 2026-03-06 10:07:48 +03:00
fix(server): create shared album from the mobile app does not trigger send email invite (#11911)
* fix(server): create shared album from the mobile app does not trigger send email invite * remove unused value
This commit is contained in:
@@ -205,6 +205,10 @@ describe(AlbumService.name, () => {
|
||||
|
||||
expect(userMock.get).toHaveBeenCalledWith('user-id', {});
|
||||
expect(accessMock.asset.checkOwnerAccess).toHaveBeenCalledWith(authStub.admin.user.id, new Set(['123']));
|
||||
expect(eventMock.emit).toHaveBeenCalledWith('onAlbumInvite', {
|
||||
id: albumStub.empty.id,
|
||||
userId: 'user-id',
|
||||
});
|
||||
});
|
||||
|
||||
it('should require valid userIds', async () => {
|
||||
|
||||
Reference in New Issue
Block a user