mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 23:52:50 -05:00
[PM-17563] Add missing TaskId and HubHelper for PendingSecurityTasks (#5591)
* [PM-17563] Add case for PushType.PendingSecurityTasks * [PM-17563] Add missing TaskId property to NotificationStatusDetails and NotificationResponseModel * [PM-17563] Add migration script to re-create NotificationStatusDetailsView to include TaskId column * [PM-17563] Select explicit columns for NotificationStatusDetailsView and fix migration script
This commit is contained in:
@ -67,6 +67,7 @@ public class NotificationsControllerTests
|
||||
Assert.Equal(expectedNotificationStatusDetails.RevisionDate, notificationResponseModel.Date);
|
||||
Assert.Equal(expectedNotificationStatusDetails.ReadDate, notificationResponseModel.ReadDate);
|
||||
Assert.Equal(expectedNotificationStatusDetails.DeletedDate, notificationResponseModel.DeletedDate);
|
||||
Assert.Equal(expectedNotificationStatusDetails.TaskId, notificationResponseModel.TaskId);
|
||||
});
|
||||
Assert.Null(listResponse.ContinuationToken);
|
||||
|
||||
@ -116,6 +117,7 @@ public class NotificationsControllerTests
|
||||
Assert.Equal(expectedNotificationStatusDetails.RevisionDate, notificationResponseModel.Date);
|
||||
Assert.Equal(expectedNotificationStatusDetails.ReadDate, notificationResponseModel.ReadDate);
|
||||
Assert.Equal(expectedNotificationStatusDetails.DeletedDate, notificationResponseModel.DeletedDate);
|
||||
Assert.Equal(expectedNotificationStatusDetails.TaskId, notificationResponseModel.TaskId);
|
||||
});
|
||||
Assert.Equal("2", listResponse.ContinuationToken);
|
||||
|
||||
@ -164,6 +166,7 @@ public class NotificationsControllerTests
|
||||
Assert.Equal(expectedNotificationStatusDetails.RevisionDate, notificationResponseModel.Date);
|
||||
Assert.Equal(expectedNotificationStatusDetails.ReadDate, notificationResponseModel.ReadDate);
|
||||
Assert.Equal(expectedNotificationStatusDetails.DeletedDate, notificationResponseModel.DeletedDate);
|
||||
Assert.Equal(expectedNotificationStatusDetails.TaskId, notificationResponseModel.TaskId);
|
||||
});
|
||||
Assert.Null(listResponse.ContinuationToken);
|
||||
|
||||
|
Reference in New Issue
Block a user