fixing more test exceptions

This commit is contained in:
andy 2022-06-28 07:49:52 +01:00
parent 6a4d83a6d6
commit e2fcc58877

View File

@ -183,17 +183,23 @@ namespace Selector
break;
case (not null, not null): // continuing non-null
if((Previous, Live) is ({ Name: not null }, { Name: not null }))
{
if (!Live.Name.Equals(Previous.Name))
{
Logger.LogDebug("Name changed: {previous} -> {current}", Previous.SnapshotId, Live.SnapshotId);
OnNameChanged(GetEvent());
}
}
if ((Previous, Live) is ({ Description: not null }, { Description: not null }))
{
if (!Live.Description.Equals(Previous.Description))
{
Logger.LogDebug("Description changed: {previous} -> {current}", Previous.SnapshotId, Live.SnapshotId);
OnDescriptionChanged(GetEvent());
}
}
break;
}