Add calendar integrations and collaboration updates
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
using Socialize.Api.Modules.CalendarIntegrations.Services;
|
||||
|
||||
namespace Socialize.Tests.CalendarIntegrations;
|
||||
|
||||
public class CalendarImportSyncServiceTests
|
||||
{
|
||||
[Fact]
|
||||
public void NormalizeSyncError_truncates_errors_to_stored_length()
|
||||
{
|
||||
string message = new('x', 3000);
|
||||
|
||||
string normalized = CalendarImportSyncService.NormalizeSyncError(message);
|
||||
|
||||
Assert.Equal(2048, normalized.Length);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user