|
|
|
@ -30,7 +30,7 @@ public class DateRangeSpecs
|
|
|
|
|
ChannelIds = [ChannelIds.DateRangeTestCases],
|
|
|
|
|
ExportFormat = ExportFormat.Json,
|
|
|
|
|
OutputPath = file.Path,
|
|
|
|
|
After = Snowflake.FromDate(after)
|
|
|
|
|
After = Snowflake.FromDate(after),
|
|
|
|
|
}.ExecuteAsync(new FakeConsole());
|
|
|
|
|
|
|
|
|
|
// Assert
|
|
|
|
@ -50,7 +50,7 @@ public class DateRangeSpecs
|
|
|
|
|
new DateTimeOffset(2021, 07, 24, 14, 52, 38, TimeSpan.Zero),
|
|
|
|
|
new DateTimeOffset(2021, 07, 24, 14, 52, 39, TimeSpan.Zero),
|
|
|
|
|
new DateTimeOffset(2021, 07, 24, 14, 52, 40, TimeSpan.Zero),
|
|
|
|
|
new DateTimeOffset(2021, 09, 08, 14, 26, 35, TimeSpan.Zero)
|
|
|
|
|
new DateTimeOffset(2021, 09, 08, 14, 26, 35, TimeSpan.Zero),
|
|
|
|
|
],
|
|
|
|
|
o =>
|
|
|
|
|
o.Using<DateTimeOffset>(ctx =>
|
|
|
|
@ -74,7 +74,7 @@ public class DateRangeSpecs
|
|
|
|
|
ChannelIds = [ChannelIds.DateRangeTestCases],
|
|
|
|
|
ExportFormat = ExportFormat.Json,
|
|
|
|
|
OutputPath = file.Path,
|
|
|
|
|
Before = Snowflake.FromDate(before)
|
|
|
|
|
Before = Snowflake.FromDate(before),
|
|
|
|
|
}.ExecuteAsync(new FakeConsole());
|
|
|
|
|
|
|
|
|
|
// Assert
|
|
|
|
@ -92,7 +92,7 @@ public class DateRangeSpecs
|
|
|
|
|
[
|
|
|
|
|
new DateTimeOffset(2021, 07, 19, 13, 34, 18, TimeSpan.Zero),
|
|
|
|
|
new DateTimeOffset(2021, 07, 19, 15, 58, 48, TimeSpan.Zero),
|
|
|
|
|
new DateTimeOffset(2021, 07, 19, 17, 23, 58, TimeSpan.Zero)
|
|
|
|
|
new DateTimeOffset(2021, 07, 19, 17, 23, 58, TimeSpan.Zero),
|
|
|
|
|
],
|
|
|
|
|
o =>
|
|
|
|
|
o.Using<DateTimeOffset>(ctx =>
|
|
|
|
@ -118,7 +118,7 @@ public class DateRangeSpecs
|
|
|
|
|
ExportFormat = ExportFormat.Json,
|
|
|
|
|
OutputPath = file.Path,
|
|
|
|
|
Before = Snowflake.FromDate(before),
|
|
|
|
|
After = Snowflake.FromDate(after)
|
|
|
|
|
After = Snowflake.FromDate(after),
|
|
|
|
|
}.ExecuteAsync(new FakeConsole());
|
|
|
|
|
|
|
|
|
|
// Assert
|
|
|
|
@ -137,7 +137,7 @@ public class DateRangeSpecs
|
|
|
|
|
new DateTimeOffset(2021, 07, 24, 13, 49, 13, TimeSpan.Zero),
|
|
|
|
|
new DateTimeOffset(2021, 07, 24, 14, 52, 38, TimeSpan.Zero),
|
|
|
|
|
new DateTimeOffset(2021, 07, 24, 14, 52, 39, TimeSpan.Zero),
|
|
|
|
|
new DateTimeOffset(2021, 07, 24, 14, 52, 40, TimeSpan.Zero)
|
|
|
|
|
new DateTimeOffset(2021, 07, 24, 14, 52, 40, TimeSpan.Zero),
|
|
|
|
|
],
|
|
|
|
|
o =>
|
|
|
|
|
o.Using<DateTimeOffset>(ctx =>
|
|
|
|
|