@@ -73,13 +73,13 @@ public CatalogueServiceTests()
7373 this . timezoneOffsetManager = new Mock < ITimezoneOffsetManager > ( ) ;
7474 this . govMessageSevice = new Mock < IGovMessageService > ( ) ;
7575 this . emailTemplateService = new Mock < IEmailTemplateService > ( ) ;
76- this . catalogueService = new CatalogueService ( this . catalogueRepository . Object ,
76+ this . categoryService = new Mock < ICategoryService > ( ) ;
77+ this . catalogueService = new CatalogueService ( this . catalogueRepository . Object , this . categoryService . Object ,
7778 this . nodeRepository . Object , this . userUserGroupRepository . Object ,
7879 this . mapper . Object , this . findwiseConfig . Object , this . learningHubConfig . Object ,
7980 this . catalogueNodeVersionRepository . Object , this . nodeResourceRepository . Object , this . resourceVersionRepository . Object ,
80- this . roleUserGroupRepository . Object , this . providerService . Object , this . catalogueAccessRequestRepository . Object , this . userRepository . Object , this . userProfileRepository . Object , this . emailSenderService . Object , this . bookmarkRepository . Object , this . nodeActivityRepository . Object , this . findwiseApiFacade . Object , this . notificationSenderService . Object , this . timezoneOffsetManager . Object , this . categoryService . Object , this . govMessageSevice . Object , this . emailTemplateService . Object ) ;
81- this . categoryService = new Mock < ICategoryService > ( ) ;
82- this . catalogueService = new CatalogueService ( this . catalogueRepository . Object , this . categoryService . Object , this . nodeRepository . Object , this . userUserGroupRepository . Object , this . mapper . Object , this . findwiseConfig . Object , this . learningHubConfig . Object , this . catalogueNodeVersionRepository . Object , this . nodeResourceRepository . Object , this . resourceVersionRepository . Object , this . roleUserGroupRepository . Object , this . providerService . Object , this . catalogueAccessRequestRepository . Object , this . userRepository . Object , this . userProfileRepository . Object , this . emailSenderService . Object , this . bookmarkRepository . Object , this . nodeActivityRepository . Object , this . notificationSenderService . Object , this . timezoneOffsetManager . Object ) ;
81+ this . roleUserGroupRepository . Object , this . providerService . Object , this . catalogueAccessRequestRepository . Object , this . userRepository . Object , this . userProfileRepository . Object , this . emailSenderService . Object , this . bookmarkRepository . Object , this . nodeActivityRepository . Object , this . notificationSenderService . Object , this . timezoneOffsetManager . Object , this . categoryService . Object , this . govMessageSevice . Object , this . emailTemplateService . Object ) ;
82+
8383 }
8484
8585 private static IEnumerable < CatalogueNodeVersion > CatalogueNodeVersionList => new List < CatalogueNodeVersion > ( )
0 commit comments