Skip to content

Commit ebcd013

Browse files
committed
Fix test injection issues.
1 parent 46158cc commit ebcd013

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
@@ -437,7 +437,8 @@ describe('MdDialog with a parent MdDialog', () => {
437437
{provide: OverlayContainer, useFactory: () => {
438438
overlayContainerElement = document.createElement('div');
439439
return {getContainerElement: () => overlayContainerElement};
440-
}}
440+
}},
441+
{provide: Location, useClass: SpyLocation}
441442
],
442443
});
443444

0 commit comments

Comments
 (0)