This commit is contained in:
StellaOps Bot
2025-12-26 21:43:56 +02:00
354 changed files with 354 additions and 0 deletions

View File

@@ -196,6 +196,7 @@ public sealed class ExportCenterClientTests
Assert.NotNull(stream);
using var ms = new MemoryStream();
using StellaOps.TestKit;
await stream.CopyToAsync(ms);
Assert.Equal(bundleContent, ms.ToArray());
}

View File

@@ -130,6 +130,7 @@ public sealed class ExportDownloadHelperTests : IDisposable
using var source = new MemoryStream(content);
using var destination = new MemoryStream();
using StellaOps.TestKit;
var bytesCopied = await ExportDownloadHelper.CopyWithProgressAsync(source, destination);
Assert.Equal(content.Length, bytesCopied);