Skip to content

Commit 8f52e18

Browse files
committed
Fix test injection issues.
1 parent 167ea98 commit 8f52e18

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lib/dialog/dialog.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,8 @@ describe('MdDialog with a parent MdDialog', () => {
467467
{provide: OverlayContainer, useFactory: () => {
468468
overlayContainerElement = document.createElement('div');
469469
return {getContainerElement: () => overlayContainerElement};
470-
}}
470+
}},
471+
{provide: Location, useClass: SpyLocation}
471472
],
472473
});
473474

0 commit comments

Comments
 (0)