diff --git a/test/E2ETests/compiler/shared/Mocks/StartupOpenIdConnectTesting.cs b/test/E2ETests/compiler/shared/Mocks/StartupOpenIdConnectTesting.cs index 7c59c4148a..dad138906f 100644 --- a/test/E2ETests/compiler/shared/Mocks/StartupOpenIdConnectTesting.cs +++ b/test/E2ETests/compiler/shared/Mocks/StartupOpenIdConnectTesting.cs @@ -14,6 +14,7 @@ using Microsoft.Framework.Logging; using Microsoft.Framework.Runtime; using MusicStore.Mocks.Common; using MusicStore.Mocks.OpenIdConnect; +using MusicStore.Components; using MusicStore.Models; namespace MusicStore @@ -105,6 +106,9 @@ namespace MusicStore services.AddCaching(); services.AddSession(); + // Add the system clock service + services.AddSingleton(); + // Configure Auth services.Configure(options => {