fix: confirm email changes and enforce clean backend build
This commit is contained in:
@@ -29,8 +29,7 @@ public class CalendarExportFeedTests
|
||||
[Fact]
|
||||
public void Build_emits_valid_ics_for_user_work_without_sensitive_discussion_details()
|
||||
{
|
||||
CalendarExportFeedBuilder builder = new();
|
||||
string ics = builder.Build(
|
||||
string ics = CalendarExportFeedBuilder.Build(
|
||||
"Socialize my work",
|
||||
[
|
||||
new CalendarExportFeedEvent(
|
||||
|
||||
@@ -4,8 +4,6 @@ namespace Socialize.Tests.CalendarIntegrations;
|
||||
|
||||
public class IcsCalendarParserTests
|
||||
{
|
||||
private readonly IcsCalendarParser _parser = new();
|
||||
|
||||
[Fact]
|
||||
public void Parse_preserves_all_day_calendar_dates()
|
||||
{
|
||||
@@ -20,7 +18,7 @@ public class IcsCalendarParserTests
|
||||
END:VCALENDAR
|
||||
""";
|
||||
|
||||
ParsedCalendarEvent calendarEvent = Assert.Single(_parser.Parse(
|
||||
ParsedCalendarEvent calendarEvent = Assert.Single(IcsCalendarParser.Parse(
|
||||
ics,
|
||||
new DateOnly(2026, 12, 1),
|
||||
new DateOnly(2026, 12, 31)));
|
||||
@@ -45,7 +43,7 @@ public class IcsCalendarParserTests
|
||||
END:VCALENDAR
|
||||
""";
|
||||
|
||||
ParsedCalendarEvent calendarEvent = Assert.Single(_parser.Parse(
|
||||
ParsedCalendarEvent calendarEvent = Assert.Single(IcsCalendarParser.Parse(
|
||||
ics,
|
||||
new DateOnly(2026, 5, 1),
|
||||
new DateOnly(2026, 5, 31)));
|
||||
@@ -70,7 +68,7 @@ public class IcsCalendarParserTests
|
||||
END:VCALENDAR
|
||||
""";
|
||||
|
||||
ParsedCalendarEvent calendarEvent = Assert.Single(_parser.Parse(
|
||||
ParsedCalendarEvent calendarEvent = Assert.Single(IcsCalendarParser.Parse(
|
||||
ics,
|
||||
new DateOnly(2026, 5, 1),
|
||||
new DateOnly(2026, 5, 31)));
|
||||
@@ -96,7 +94,7 @@ public class IcsCalendarParserTests
|
||||
END:VCALENDAR
|
||||
""";
|
||||
|
||||
IReadOnlyCollection<ParsedCalendarEvent> events = _parser.Parse(
|
||||
IReadOnlyCollection<ParsedCalendarEvent> events = IcsCalendarParser.Parse(
|
||||
ics,
|
||||
new DateOnly(2026, 1, 1),
|
||||
new DateOnly(2027, 12, 31));
|
||||
@@ -122,7 +120,7 @@ public class IcsCalendarParserTests
|
||||
END:VCALENDAR
|
||||
""";
|
||||
|
||||
ParsedCalendarEvent calendarEvent = Assert.Single(_parser.Parse(
|
||||
ParsedCalendarEvent calendarEvent = Assert.Single(IcsCalendarParser.Parse(
|
||||
ics,
|
||||
new DateOnly(2026, 5, 1),
|
||||
new DateOnly(2026, 5, 31)));
|
||||
|
||||
Reference in New Issue
Block a user