File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -529,10 +529,10 @@ describe('MatPaginator', () => {
529
529
fixture . detectChanges ( ) ;
530
530
531
531
expect ( select . disabled ) . toBe ( true ) ;
532
- expect ( getPreviousButton ( fixture ) . hasAttribute ( 'disabled' ) ) . toBe ( false ) ;
533
- expect ( getNextButton ( fixture ) . hasAttribute ( 'disabled' ) ) . toBe ( false ) ;
534
- expect ( getFirstButton ( fixture ) . hasAttribute ( 'disabled' ) ) . toBe ( false ) ;
535
- expect ( getLastButton ( fixture ) . hasAttribute ( 'disabled' ) ) . toBe ( false ) ;
532
+ expect ( getPreviousButton ( fixture ) . hasAttribute ( 'aria- disabled' ) ) . toBe ( true ) ;
533
+ expect ( getNextButton ( fixture ) . hasAttribute ( 'aria- disabled' ) ) . toBe ( true ) ;
534
+ expect ( getFirstButton ( fixture ) . hasAttribute ( 'aria- disabled' ) ) . toBe ( true ) ;
535
+ expect ( getLastButton ( fixture ) . hasAttribute ( 'aria- disabled' ) ) . toBe ( true ) ;
536
536
} ) ;
537
537
538
538
it ( 'should be able to configure the default options via a provider' , ( ) => {
You can’t perform that action at this time.
0 commit comments