diff --git a/COMETwebapp.Tests/Pages/ParameterEditor/ParameterEditorTestFixture.cs b/COMETwebapp.Tests/Pages/ParameterEditor/ParameterEditorTestFixture.cs index 039df8d3..e01a4656 100644 --- a/COMETwebapp.Tests/Pages/ParameterEditor/ParameterEditorTestFixture.cs +++ b/COMETwebapp.Tests/Pages/ParameterEditor/ParameterEditorTestFixture.cs @@ -139,11 +139,11 @@ public void Setup() this.context.ConfigureDevExpressBlazor(); this.context.Services.AddSingleton(this.viewModel); this.context.Services.AddSingleton(this.sessionService.Object); - this.context.Services.AddSingleton(this.messageBus); this.context.Services.AddSingleton(mockConfigurationService.Object); this.context.Services.AddSingleton(parameterEditorBodyViewModel.Object); this.context.Services.AddSingleton(parameterTableViewModel.Object); this.context.Services.AddSingleton(configurationService.Object); + this.context.Services.AddSingleton(this.messageBus); this.context.Services.AddSingleton(); this.context.Services.AddSingleton(); this.context.Services.AddSingleton();