diff --git a/src/ZB.MOM.WW.MxGateway.IntegrationTests/ZB.MOM.WW.MxGateway.IntegrationTests.csproj b/src/ZB.MOM.WW.MxGateway.IntegrationTests/ZB.MOM.WW.MxGateway.IntegrationTests.csproj index e699868..06c4207 100644 --- a/src/ZB.MOM.WW.MxGateway.IntegrationTests/ZB.MOM.WW.MxGateway.IntegrationTests.csproj +++ b/src/ZB.MOM.WW.MxGateway.IntegrationTests/ZB.MOM.WW.MxGateway.IntegrationTests.csproj @@ -22,8 +22,8 @@ (IntegrationTests-028). --> - - + + diff --git a/src/ZB.MOM.WW.MxGateway.Server/ZB.MOM.WW.MxGateway.Server.csproj b/src/ZB.MOM.WW.MxGateway.Server/ZB.MOM.WW.MxGateway.Server.csproj index ff87cb3..82bd3ea 100644 --- a/src/ZB.MOM.WW.MxGateway.Server/ZB.MOM.WW.MxGateway.Server.csproj +++ b/src/ZB.MOM.WW.MxGateway.Server/ZB.MOM.WW.MxGateway.Server.csproj @@ -6,10 +6,10 @@ - - - - + + + + diff --git a/src/ZB.MOM.WW.MxGateway.Tests/Gateway/Dashboard/DashboardSnapshotServiceTests.cs b/src/ZB.MOM.WW.MxGateway.Tests/Gateway/Dashboard/DashboardSnapshotServiceTests.cs index 50698aa..5f0e48c 100644 --- a/src/ZB.MOM.WW.MxGateway.Tests/Gateway/Dashboard/DashboardSnapshotServiceTests.cs +++ b/src/ZB.MOM.WW.MxGateway.Tests/Gateway/Dashboard/DashboardSnapshotServiceTests.cs @@ -623,6 +623,27 @@ public sealed class DashboardSnapshotServiceTests { return Task.FromResult(false); } + + /// Does nothing; the fake never changes scopes (added to IApiKeyAdminStore in Auth 0.1.3). + /// Key identifier. + /// Replacement scope set. + /// Cancellation token. + /// , always. + public Task SetScopesAsync(string keyId, IReadOnlySet scopes, CancellationToken ct) + { + return Task.FromResult(false); + } + + /// Does nothing; the fake never toggles key state (added to IApiKeyAdminStore in Auth 0.1.3). + /// Key identifier. + /// Desired enabled state. + /// Timestamp for the state change. + /// Cancellation token. + /// , always. + public Task SetEnabledAsync(string keyId, bool enabled, DateTimeOffset whenUtc, CancellationToken ct) + { + return Task.FromResult(false); + } } private class CountingApiKeyAdminStore(params ApiKeyListItem[] records) : FakeApiKeyAdminStore