Skip to content

Commit

Permalink
Fix TopMenu tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbware committed Oct 9, 2023
1 parent 742e1f4 commit 92da305
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion COMET.Web.Common.Tests/Shared/TopMenuTestFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,12 @@ public void Setup()
this.autoRefreshService = new Mock<IAutoRefreshService>();
this.sourceList = new SourceList<Iteration>();
this.sessionService.Setup(x => x.OpenIterations).Returns(this.sourceList);
this.registeredMenuEntries = new List<Type>();
this.registeredMenuEntries = new List<Type>()
{
typeof(ApplicationMenu),
typeof(ModelMenu),
typeof(SessionMenu)
};
this.registeredApplications = new List<Application>();
this.registrationService = new Mock<IRegistrationService>();
this.registrationService.Setup(x => x.RegisteredAuthorizedMenuEntries).Returns(this.registeredMenuEntries);
Expand Down

0 comments on commit 92da305

Please sign in to comment.