@@ -7,8 +7,8 @@ import { FormGroup, TextInput } from '@patternfly/react-core';
77import { DataToolbar } from '@patternfly/react-core/dist/js/experimental' ;
88import {
99 SearchIcon ,
10- SortAlphaUpIcon ,
11- SortAlphaDownIcon ,
10+ PficonSortCommonAscIcon ,
11+ PficonSortCommonDescIcon ,
1212 AngleDoubleLeftIcon ,
1313 AngleDoubleRightIcon ,
1414 AngleLeftIcon ,
@@ -71,8 +71,8 @@ describe('DualListSelect', () => {
7171 expect ( wrapper . find ( DataToolbar ) ) . toHaveLength ( 2 ) ;
7272 expect ( wrapper . find ( TextInput ) ) . toHaveLength ( 2 ) ;
7373 expect ( wrapper . find ( SearchIcon ) ) . toHaveLength ( 2 ) ;
74- expect ( wrapper . find ( SortAlphaUpIcon ) ) . toHaveLength ( 2 ) ;
75- expect ( wrapper . find ( SortAlphaDownIcon ) ) . toHaveLength ( 0 ) ;
74+ expect ( wrapper . find ( PficonSortCommonDescIcon ) ) . toHaveLength ( 2 ) ;
75+ expect ( wrapper . find ( PficonSortCommonAscIcon ) ) . toHaveLength ( 0 ) ;
7676 expect ( wrapper . find ( AngleRightIcon ) ) . toHaveLength ( 1 ) ;
7777 expect ( wrapper . find ( AngleLeftIcon ) ) . toHaveLength ( 1 ) ;
7878 expect ( wrapper . find ( AngleDoubleRightIcon ) ) . toHaveLength ( 1 ) ;
@@ -396,7 +396,7 @@ describe('DualListSelect', () => {
396396 ) . toEqual ( 'zebras' ) ;
397397 await act ( async ( ) => {
398398 wrapper
399- . find ( SortAlphaUpIcon )
399+ . find ( PficonSortCommonDescIcon )
400400 . first ( )
401401 . parent ( )
402402 . props ( )
@@ -422,7 +422,7 @@ describe('DualListSelect', () => {
422422 ) . toEqual ( 'cats' ) ;
423423 await act ( async ( ) => {
424424 wrapper
425- . find ( SortAlphaDownIcon )
425+ . find ( PficonSortCommonAscIcon )
426426 . first ( )
427427 . parent ( )
428428 . props ( )
@@ -469,7 +469,7 @@ describe('DualListSelect', () => {
469469 ) . toEqual ( 'zebras' ) ;
470470 await act ( async ( ) => {
471471 wrapper
472- . find ( SortAlphaUpIcon )
472+ . find ( PficonSortCommonDescIcon )
473473 . last ( )
474474 . parent ( )
475475 . props ( )
@@ -495,7 +495,7 @@ describe('DualListSelect', () => {
495495 ) . toEqual ( 'cats' ) ;
496496 await act ( async ( ) => {
497497 wrapper
498- . find ( SortAlphaDownIcon )
498+ . find ( PficonSortCommonAscIcon )
499499 . last ( )
500500 . parent ( )
501501 . props ( )
0 commit comments