Skip to content

Commit 8b21662

Browse files
committed
Fix test injection issues.
1 parent bd935fe commit 8b21662

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
@@ -408,7 +408,8 @@ describe('MdDialog with a parent MdDialog', () => {
408408
{provide: OverlayContainer, useFactory: () => {
409409
overlayContainerElement = document.createElement('div');
410410
return {getContainerElement: () => overlayContainerElement};
411-
}}
411+
}},
412+
{provide: Location, useClass: SpyLocation}
412413
],
413414
});
414415

0 commit comments

Comments
 (0)