mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[ADF-4707] add properties in node selector search (#4878)
* add properties in node selector search * fix test
This commit is contained in:
@@ -23,6 +23,7 @@ import { ContentTestingModule } from '../testing/content.testing.module';
|
||||
|
||||
class SearchServiceMock {
|
||||
public query: QueryBody;
|
||||
|
||||
searchByQueryBody(query: QueryBody) {
|
||||
this.query = query;
|
||||
}
|
||||
@@ -56,7 +57,7 @@ describe('ContentNodeSelectorService', () => {
|
||||
it('should make it including the path and allowableOperations', () => {
|
||||
service.search('nuka cola quantum');
|
||||
|
||||
expect(search.query.include).toEqual(['path', 'allowableOperations']);
|
||||
expect(search.query.include).toEqual(['path', 'allowableOperations', 'properties']);
|
||||
});
|
||||
|
||||
it('should make the search restricted to nodes only', () => {
|
||||
|
Reference in New Issue
Block a user