Frontend gaps fill work. Testing fixes work. Auditing in progress.
This commit is contained in:
@@ -22,7 +22,7 @@ public sealed class OciAttestationAttacherIntegrationTests : IAsyncLifetime
|
||||
private IContainer _registry = null!;
|
||||
private string _registryHost = null!;
|
||||
|
||||
public async Task InitializeAsync()
|
||||
public async ValueTask InitializeAsync()
|
||||
{
|
||||
_registry = new ContainerBuilder()
|
||||
.WithImage("registry:2")
|
||||
@@ -34,7 +34,7 @@ public sealed class OciAttestationAttacherIntegrationTests : IAsyncLifetime
|
||||
_registryHost = _registry.Hostname + ":" + _registry.GetMappedPublicPort(5000);
|
||||
}
|
||||
|
||||
public async Task DisposeAsync()
|
||||
public async ValueTask DisposeAsync()
|
||||
{
|
||||
await _registry.DisposeAsync();
|
||||
}
|
||||
@@ -65,7 +65,7 @@ public sealed class OciAttestationAttacherIntegrationTests : IAsyncLifetime
|
||||
// result.Should().NotBeNull();
|
||||
// result.AttestationDigest.Should().StartWith("sha256:");
|
||||
|
||||
await Task.CompletedTask;
|
||||
await ValueTask.CompletedTask;
|
||||
}
|
||||
|
||||
[Fact(Skip = "Requires registry push/pull implementation - placeholder for integration test")]
|
||||
@@ -84,7 +84,7 @@ public sealed class OciAttestationAttacherIntegrationTests : IAsyncLifetime
|
||||
// var attestations = await attacher.ListAsync(imageRef);
|
||||
// attestations.Should().NotBeNull();
|
||||
|
||||
await Task.CompletedTask;
|
||||
await ValueTask.CompletedTask;
|
||||
}
|
||||
|
||||
[Fact(Skip = "Requires registry push/pull implementation - placeholder for integration test")]
|
||||
@@ -105,7 +105,7 @@ public sealed class OciAttestationAttacherIntegrationTests : IAsyncLifetime
|
||||
// var envelope = await attacher.FetchAsync(imageRef, predicateType);
|
||||
// envelope.Should().NotBeNull();
|
||||
|
||||
await Task.CompletedTask;
|
||||
await ValueTask.CompletedTask;
|
||||
}
|
||||
|
||||
[Fact(Skip = "Requires registry push/pull implementation - placeholder for integration test")]
|
||||
@@ -126,6 +126,9 @@ public sealed class OciAttestationAttacherIntegrationTests : IAsyncLifetime
|
||||
// var result = await attacher.RemoveAsync(imageRef, attestationDigest);
|
||||
// result.Should().BeTrue();
|
||||
|
||||
await Task.CompletedTask;
|
||||
await ValueTask.CompletedTask;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user