diff --git a/src/material/sort/BUILD.bazel b/src/material/sort/BUILD.bazel index 2c2a228ebbee..1986448be175 100644 --- a/src/material/sort/BUILD.bazel +++ b/src/material/sort/BUILD.bazel @@ -55,7 +55,7 @@ ng_test_library( "//src/cdk/collections", "//src/cdk/table", "//src/cdk/testing/private", - "//src/material/legacy-table", + "//src/material/table", "@npm//@angular/platform-browser", "@npm//rxjs", ], diff --git a/src/material/sort/sort.spec.ts b/src/material/sort/sort.spec.ts index 349b1ed86465..b7070123f006 100644 --- a/src/material/sort/sort.spec.ts +++ b/src/material/sort/sort.spec.ts @@ -12,7 +12,7 @@ import {NoopAnimationsModule} from '@angular/platform-browser/animations'; import {By} from '@angular/platform-browser'; import {Observable} from 'rxjs'; import {map} from 'rxjs/operators'; -import {MatLegacyTableModule} from '../legacy-table/index'; +import {MatTableModule} from '@angular/material/table'; import { MAT_SORT_DEFAULT_OPTIONS, MatSort, @@ -35,7 +35,7 @@ describe('MatSort', () => { beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ - imports: [MatSortModule, MatLegacyTableModule, CdkTableModule, NoopAnimationsModule], + imports: [MatSortModule, MatTableModule, CdkTableModule, NoopAnimationsModule], declarations: [ SimpleMatSortApp, CdkTableMatSortApp, @@ -507,7 +507,7 @@ describe('MatSort', () => { beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ - imports: [MatSortModule, MatLegacyTableModule, CdkTableModule, NoopAnimationsModule], + imports: [MatSortModule, MatTableModule, CdkTableModule, NoopAnimationsModule], declarations: [MatSortWithoutExplicitInputs], providers: [ { @@ -541,7 +541,7 @@ describe('MatSort', () => { beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ - imports: [MatSortModule, MatLegacyTableModule, CdkTableModule, NoopAnimationsModule], + imports: [MatSortModule, MatTableModule, CdkTableModule, NoopAnimationsModule], declarations: [MatSortWithoutInputs], providers: [ {