@@ -25,7 +25,7 @@ import { IgxCalendarComponent } from '../calendar/public_api';
2525// The number of milliseconds in one day
2626const ONE_DAY = 1000 * 60 * 60 * 24 ;
2727const DEBOUNCE_TIME = 16 ;
28- const dEFAULT_ICON_TEXT = 'calendar_today ' ;
28+ const DEFAULT_ICON_TEXT = 'date_range ' ;
2929const DEFAULT_FORMAT_OPTIONS = { day : '2-digit' , month : '2-digit' , year : 'numeric' } ;
3030const CSS_CLASS_INPUT_GROUP = '.igx-input-group__bundle' ;
3131const CSS_CLASS_INPUT = '.igx-input-group__input' ;
@@ -1168,7 +1168,7 @@ describe('IgxDateRangePicker', () => {
11681168 fixture . detectChanges ( ) ;
11691169
11701170 const inputGroup = fixture . debugElement . query ( By . css ( CSS_CLASS_INPUT_GROUP ) ) ;
1171- expect ( inputGroup . children [ 0 ] . nativeElement . innerText ) . toBe ( dEFAULT_ICON_TEXT ) ;
1171+ expect ( inputGroup . children [ 0 ] . nativeElement . innerText ) . toBe ( DEFAULT_ICON_TEXT ) ;
11721172 expect ( inputGroup . children [ 0 ] . children [ 0 ] . classes [ CSS_CLASS_ICON ] ) . toBeTruthy ( ) ;
11731173 } ) ;
11741174
@@ -1189,7 +1189,7 @@ describe('IgxDateRangePicker', () => {
11891189 expect ( suffixSingleRangeInput . children [ 1 ] . children [ 0 ] . classes [ CSS_CLASS_ICON ] ) . toBeTruthy ( ) ;
11901190
11911191 const addPrefixSingleRangeInput = inputGroups [ 2 ] ;
1192- expect ( addPrefixSingleRangeInput . children [ 0 ] . nativeElement . innerText ) . toBe ( dEFAULT_ICON_TEXT ) ;
1192+ expect ( addPrefixSingleRangeInput . children [ 0 ] . nativeElement . innerText ) . toBe ( DEFAULT_ICON_TEXT ) ;
11931193 expect ( addPrefixSingleRangeInput . children [ 0 ] . children [ 0 ] . classes [ CSS_CLASS_ICON ] ) . toBeTruthy ( ) ;
11941194 expect ( addPrefixSingleRangeInput . children [ 1 ] . nativeElement . innerText ) . toBe ( additionalIconText ) ;
11951195 expect ( addPrefixSingleRangeInput . children [ 1 ] . children [ 0 ] . classes [ CSS_CLASS_ICON ] ) . toBeTruthy ( ) ;
0 commit comments