public void Constructor_Always_ReturnsNotification( ulong userId, long actionId) { var result = new UserUpdatingNotification(userId, actionId); result.UserId.ShouldBe(userId); result.ActionId.ShouldBe(actionId); }
public Task OnNotificationPublishedAsync( UserUpdatingNotification notification, CancellationToken cancellationToken) { AuthenticationLogMessages.UserUpdating(_logger, notification.UserId); return(UpdateActiveTicketId( notification.UserId, notification.ActionId, cancellationToken)); }