mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[ADF-No-issue-number] search problem type fix (#3068)
* search problem type fix * fix type test * fix test node selector * fix test content node selector panel
This commit is contained in:
@@ -69,15 +69,15 @@ describe('ContentNodeSelectorService', () => {
|
||||
it('should set the maxItems and paging properly by parameters', () => {
|
||||
service.search('nuka cola quantum', null, 10, 100);
|
||||
|
||||
expect(search.query.paging.maxItems).toEqual('100');
|
||||
expect(search.query.paging.skipCount).toEqual('10');
|
||||
expect(search.query.paging.maxItems).toEqual(100);
|
||||
expect(search.query.paging.skipCount).toEqual(10);
|
||||
});
|
||||
|
||||
it('should set the maxItems and paging properly by default', () => {
|
||||
service.search('nuka cola quantum');
|
||||
|
||||
expect(search.query.paging.maxItems).toEqual('25');
|
||||
expect(search.query.paging.skipCount).toEqual('0');
|
||||
expect(search.query.paging.maxItems).toEqual(25);
|
||||
expect(search.query.paging.skipCount).toEqual(0);
|
||||
});
|
||||
|
||||
it('should filter the search only for folders', () => {
|
||||
|
Reference in New Issue
Block a user