mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[ACS-6366] Add missing unit tests for app rules (#3831)
* [ACS-6366] Aca-shared rules cleanup * [ACS-6366] Add missing unit tests for app rules * [ACS-6366] Move context creation to beforeEach
This commit is contained in:
@@ -377,7 +377,7 @@
|
||||
"type": "separator",
|
||||
"order": 89,
|
||||
"rules": {
|
||||
"visible": "app.isSearchSupported"
|
||||
"visible": "app.navigation.isNotSearchResults"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -393,7 +393,7 @@
|
||||
"click": "SEARCH"
|
||||
},
|
||||
"rules": {
|
||||
"visible": "app.isSearchSupported"
|
||||
"visible": "app.navigation.isNotSearchResults"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -1252,7 +1252,7 @@
|
||||
"click": "ASPECT_LIST"
|
||||
},
|
||||
"rules": {
|
||||
"visible": "editAspects"
|
||||
"visible": "canEditAspects"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@@ -171,7 +171,6 @@ export class ContentServiceExtensionModule {
|
||||
canToggleFavorite: rules.canToggleFavorite,
|
||||
isLibraryManager: rules.isLibraryManager,
|
||||
canEditAspects: rules.canEditAspects,
|
||||
editAspects: rules.editAspects,
|
||||
canShowExpand: rules.canShowExpand,
|
||||
canInfoPreview: rules.canInfoPreview,
|
||||
showInfoSelectionButton: rules.showInfoSelectionButton,
|
||||
@@ -225,7 +224,6 @@ export class ContentServiceExtensionModule {
|
||||
'app.isContentServiceEnabled': rules.isContentServiceEnabled,
|
||||
'app.isUploadSupported': rules.isUploadSupported,
|
||||
'app.canCreateLibrary': rules.canCreateLibrary,
|
||||
'app.isSearchSupported': rules.isSearchSupported,
|
||||
'app.areTagsEnabled': rules.areTagsEnabled,
|
||||
'app.areCategoriesEnabled': rules.areCategoriesEnabled
|
||||
});
|
||||
|
Reference in New Issue
Block a user