tests fixes and some product advisories tunes ups

This commit is contained in:
master
2026-01-30 07:57:43 +02:00
parent 644887997c
commit 55744f6a39
345 changed files with 26290 additions and 2267 deletions

View File

@@ -42,13 +42,11 @@ public sealed class SurfaceValidatorRunnerTests
}
[Trait("Category", TestCategories.Unit)]
[Fact]
[Fact]
public async Task RunAllAsync_ReturnsSuccess_ForValidConfiguration()
{
var directory = new DirectoryInfo(Path.Combine(Path.GetTempPath(), "stellaops-tests", Guid.NewGuid().ToString()))
{
Attributes = FileAttributes.Normal
};
var directory = new DirectoryInfo(Path.Combine(Path.GetTempPath(), "stellaops-tests", Guid.NewGuid().ToString()));
directory.Create();
var environment = new SurfaceEnvironmentSettings(
new Uri("https://surface.example.com"),
@@ -99,14 +97,12 @@ public sealed class SurfaceValidatorRunnerTests
}
[Trait("Category", TestCategories.Unit)]
[Fact]
[Fact]
public async Task RunAllAsync_Fails_WhenFileRootMissing()
{
var missingRoot = Path.Combine(Path.GetTempPath(), "stellaops-tests", "missing-root", Guid.NewGuid().ToString());
var directory = new DirectoryInfo(Path.Combine(Path.GetTempPath(), "stellaops-tests", Guid.NewGuid().ToString()))
{
Attributes = FileAttributes.Normal
};
var directory = new DirectoryInfo(Path.Combine(Path.GetTempPath(), "stellaops-tests", Guid.NewGuid().ToString()));
directory.Create();
var environment = new SurfaceEnvironmentSettings(
new Uri("https://surface.example.com"),