mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ACS-6924] Rename tags and categories plugins (#9406)
This commit is contained in:
@@ -187,7 +187,7 @@ describe('CategoryService', () => {
|
||||
|
||||
it('should call get on AppConfigService with correct parameters', () => {
|
||||
categoryService.areCategoriesEnabled();
|
||||
expect(getSpy).toHaveBeenCalledWith('plugins.categories', true);
|
||||
expect(getSpy).toHaveBeenCalledWith('plugins.categoriesEnabled', true);
|
||||
});
|
||||
|
||||
it('should return true if get from AppConfigService returns true', () => {
|
||||
|
@@ -163,6 +163,6 @@ export class CategoryService {
|
||||
* @returns boolean true if categories plugin is enabled, false otherwise.
|
||||
*/
|
||||
areCategoriesEnabled(): boolean {
|
||||
return this.appConfigService.get('plugins.categories', true);
|
||||
return this.appConfigService.get('plugins.categoriesEnabled', true);
|
||||
}
|
||||
}
|
||||
|
@@ -349,7 +349,7 @@ describe('TagService', () => {
|
||||
|
||||
it('should call get on AppConfigService with correct parameters', () => {
|
||||
service.areTagsEnabled();
|
||||
expect(getSpy).toHaveBeenCalledWith('plugins.tags', true);
|
||||
expect(getSpy).toHaveBeenCalledWith('plugins.tagsEnabled', true);
|
||||
});
|
||||
|
||||
it('should return true if get from AppConfigService returns true', () => {
|
||||
|
@@ -183,6 +183,6 @@ export class TagService {
|
||||
* @returns boolean true if tags plugin is enabled, false otherwise.
|
||||
*/
|
||||
areTagsEnabled(): boolean {
|
||||
return this.appConfigService.get('plugins.tags', true);
|
||||
return this.appConfigService.get('plugins.tagsEnabled', true);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user