mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
remove dependency from search-filters.e2e.ts file (#8840)
This commit is contained in:
@@ -34,7 +34,7 @@ import {
|
||||
} from '@alfresco/adf-testing';
|
||||
import { browser } from 'protractor';
|
||||
import { SearchConfiguration } from './search.config';
|
||||
import * as moment from 'moment';
|
||||
import { getYear } from 'date-fns';
|
||||
|
||||
describe('Search Filters', () => {
|
||||
|
||||
@@ -123,7 +123,7 @@ describe('Search Filters', () => {
|
||||
});
|
||||
|
||||
it('[C291980] Should group search facets under specified labels', async () => {
|
||||
const currentYear = moment().year();
|
||||
const currentYear = getYear(new Date());
|
||||
|
||||
jsonFile.facetQueries.queries[0] = {
|
||||
query: `created:${currentYear}`,
|
||||
|
Reference in New Issue
Block a user